类 SeriesLegend


  • public class SeriesLegend
    extends java.lang.Object
    作者:
    wyq
    • 构造器详细资料

      • SeriesLegend

        public SeriesLegend()
        Constructor
      • SeriesLegend

        public SeriesLegend​(ColorBreak cb)
        Constructor
        参数:
        cb - ColorBreak
      • SeriesLegend

        public SeriesLegend​(int n)
        Constructor
        参数:
        n - Break number
    • 方法详细资料

      • getPlotMethod

        public ChartPlotMethod getPlotMethod()
        Get plot method
        返回:
        Plot method
      • setPlotMethod

        public void setPlotMethod​(ChartPlotMethod value)
        Set plot method
        参数:
        value - Plot method
      • isPoint

        public boolean isPoint()
        Get if the legend is PointBreak
        返回:
        Boolean
      • isLine

        public boolean isLine()
        Get if the legend is PolylineBreak
        返回:
        Boolean
      • isPolygon

        public boolean isPolygon()
        Get if the legend is PolygonBreak
        返回:
        Boolean
      • isMutiple

        public boolean isMutiple()
        Get if if mutiple legend breaks
        返回:
        Boolean
      • getLegendBreak

        public ColorBreak getLegendBreak()
        Get a legend break
        返回:
        Legend break
      • setLegendBreak

        public void setLegendBreak​(ColorBreak cb)
        Set legend break
        参数:
        cb - Legend break
      • getLegendBreak

        public ColorBreak getLegendBreak​(int idx)
        Get a legend break
        参数:
        idx - Index
        返回:
        Legend break
      • setLegendBreak

        public void setLegendBreak​(int idx,
                                   ColorBreak cb)
        Set legend break
        参数:
        idx - Index
        cb - Legend break
      • getErrorColor

        public java.awt.Color getErrorColor()
        Get error color
        返回:
        Error color
      • setErrorColor

        public void setErrorColor​(java.awt.Color value)
        Set error color
        参数:
        value - Error color
      • addLegendBreak

        public void addLegendBreak​(ColorBreak cb)
        Add a legend break
        参数:
        cb - Legend break
      • getBreakNum

        public int getBreakNum()
        Get legend break number
        返回:
        Legend break number