Class Series

java.lang.Object
org.knowm.xchart.internal.series.Series
Direct Known Subclasses:
AxesChartSeries, DialSeries, PieSeries

public abstract class Series extends Object
A Series to be plotted on a Chart
  • Field Details

    • name

      private final String name
    • label

      private String label
    • fillColor

      private Color fillColor
    • showInLegend

      private boolean showInLegend
    • isEnabled

      private boolean isEnabled
    • yAxisGroup

      private int yAxisGroup
    • yAxisDecimalPattern

      private String yAxisDecimalPattern
      the yAxis decimalPattern
  • Constructor Details

    • Series

      protected Series(String name)
      Constructor
      Parameters:
      name - the name of the series
  • Method Details

    • getLegendRenderType

      public abstract RenderableSeries.LegendRenderType getLegendRenderType()
    • getFillColor

      public Color getFillColor()
    • setFillColor

      public Series setFillColor(Color fillColor)
    • getName

      public String getName()
    • getLabel

      public String getLabel()
    • setLabel

      public Series setLabel(String label)
    • isShowInLegend

      public boolean isShowInLegend()
    • setShowInLegend

      public Series setShowInLegend(boolean showInLegend)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public Series setEnabled(boolean isEnabled)
    • getYAxisGroup

      public int getYAxisGroup()
    • setYAxisGroup

      public Series setYAxisGroup(int yAxisGroup)
      Set the Y Axis Group the series should belong to
      Parameters:
      yAxisGroup -
    • getYAxisDecimalPattern

      public String getYAxisDecimalPattern()
    • setYAxisDecimalPattern

      public Series setYAxisDecimalPattern(String yAxisDecimalPattern)