Package org.knowm.xchart.internal.series
Class Series
- java.lang.Object
-
- org.knowm.xchart.internal.series.Series
-
- Direct Known Subclasses:
AxesChartSeries,DialSeries,PieSeries
public abstract class Series extends java.lang.ObjectA Series to be plotted on a Chart
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSeries.DataType
-
Field Summary
Fields Modifier and Type Field Description private java.awt.ColorfillColorprivate booleanisEnabledprivate java.lang.Stringlabelprivate java.lang.Stringnameprivate booleanshowInLegendprivate java.lang.StringyAxisDecimalPatternthe yAxis decimalPatternprivate intyAxisGroup
-
Constructor Summary
Constructors Modifier Constructor Description protectedSeries(java.lang.String name)Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetFillColor()java.lang.StringgetLabel()abstract RenderableSeries.LegendRenderTypegetLegendRenderType()java.lang.StringgetName()java.lang.StringgetYAxisDecimalPattern()intgetYAxisGroup()booleanisEnabled()booleanisShowInLegend()SeriessetEnabled(boolean isEnabled)SeriessetFillColor(java.awt.Color fillColor)SeriessetLabel(java.lang.String label)SeriessetShowInLegend(boolean showInLegend)SeriessetYAxisDecimalPattern(java.lang.String yAxisDecimalPattern)SeriessetYAxisGroup(int yAxisGroup)Set the Y Axis Group the series should belong to
-
-
-
Field Detail
-
name
private final java.lang.String name
-
label
private java.lang.String label
-
fillColor
private java.awt.Color fillColor
-
showInLegend
private boolean showInLegend
-
isEnabled
private boolean isEnabled
-
yAxisGroup
private int yAxisGroup
-
yAxisDecimalPattern
private java.lang.String yAxisDecimalPattern
the yAxis decimalPattern
-
-
Method Detail
-
getLegendRenderType
public abstract RenderableSeries.LegendRenderType getLegendRenderType()
-
getFillColor
public java.awt.Color getFillColor()
-
setFillColor
public Series setFillColor(java.awt.Color fillColor)
-
getName
public java.lang.String getName()
-
getLabel
public java.lang.String getLabel()
-
setLabel
public Series setLabel(java.lang.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 java.lang.String getYAxisDecimalPattern()
-
setYAxisDecimalPattern
public Series setYAxisDecimalPattern(java.lang.String yAxisDecimalPattern)
-
-