Class SeriesLegend



  • public class SeriesLegend
    extends java.lang.Object
    • Constructor Detail

      • SeriesLegend

        public SeriesLegend​()
        Constructor
      • SeriesLegend

        public SeriesLegend​(ColorBreak cb)
        Constructor
        Parameters:
        cb - ColorBreak
      • SeriesLegend

        public SeriesLegend​(int n)
        Constructor
        Parameters:
        n - Break number
    • Method Detail

      • getPlotMethod

        public ChartPlotMethod getPlotMethod​()
        Get plot method
        Returns:
        Plot method
      • setPlotMethod

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

        public boolean isPoint​()
        Get if the legend is PointBreak
        Returns:
        Boolean
      • isLine

        public boolean isLine​()
        Get if the legend is PolylineBreak
        Returns:
        Boolean
      • isPolygon

        public boolean isPolygon​()
        Get if the legend is PolygonBreak
        Returns:
        Boolean
      • isMutiple

        public boolean isMutiple​()
        Get if if mutiple legend breaks
        Returns:
        Boolean
      • getLegendBreak

        public ColorBreak getLegendBreak​()
        Get a legend break
        Returns:
        Legend break
      • setLegendBreak

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

        public ColorBreak getLegendBreak​(int idx)
        Get a legend break
        Parameters:
        idx - Index
        Returns:
        Legend break
      • setLegendBreak

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

        public java.awt.Color getErrorColor​()
        Get error color
        Returns:
        Error color
      • setErrorColor

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

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

        public int getBreakNum​()
        Get legend break number
        Returns:
        Legend break number