Class AxesChartSeries
java.lang.Object
org.knowm.xchart.internal.series.Series
org.knowm.xchart.internal.series.AxesChartSeries
- Direct Known Subclasses:
HeatMapSeries, MarkerSeries
A Series containing X and Y data to be plotted on a Chart with X and Y Axes.
-
Nested Class Summary
Nested classes/interfaces inherited from class Series
Series.DataType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ColorLine Colorprivate floatLine Widthprivate BasicStrokeLine Style(package private) final Series.DataTypeprotected doublethe maximum value of axis rangeprotected doublethe minimum value of axis range(package private) final Series.DataTypeprotected doublethe maximum value of axis rangeprotected doublethe minimum value of axis range -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAxesChartSeries(String name, Series.DataType xAxisDataType) ConstructorprotectedAxesChartSeries(String name, Series.DataType xAxisDataType, Series.DataType yAxisDataType) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidfloatdoublegetXMax()doublegetXMin()doublegetYMax()doublegetYMin()setLineColor(Color color) Set the line color of the seriessetLineStyle(BasicStroke basicStroke) Set the line style of the seriessetLineWidth(float lineWidth) Set the line width of the seriesMethods inherited from class Series
getFillColor, getLabel, getLegendRenderType, getName, getYAxisDecimalPattern, getYAxisGroup, isEnabled, isShowInLegend, setEnabled, setFillColor, setLabel, setShowInLegend, setYAxisDecimalPattern, setYAxisGroup
-
Field Details
-
xAxisDataType
-
yAxisType
-
xMin
protected double xMinthe minimum value of axis range -
xMax
protected double xMaxthe maximum value of axis range -
yMin
protected double yMinthe minimum value of axis range -
yMax
protected double yMaxthe maximum value of axis range -
stroke
Line Style -
lineColor
Line Color -
lineWidth
private float lineWidthLine Width
-
-
Constructor Details
-
AxesChartSeries
Constructor- Parameters:
name-xAxisDataType-
-
AxesChartSeries
protected AxesChartSeries(String name, Series.DataType xAxisDataType, Series.DataType yAxisDataType) Constructor- Parameters:
name-xAxisDataType-yAxisDataType-
-
-
Method Details
-
calculateMinMax
protected abstract void calculateMinMax() -
getXMin
public double getXMin() -
getXMax
public double getXMax() -
getYMin
public double getYMin() -
getYMax
public double getYMax() -
getLineStyle
-
setLineStyle
Set the line style of the series- Parameters:
basicStroke-
-
getLineColor
-
setLineColor
Set the line color of the series- Parameters:
color-
-
getLineWidth
public float getLineWidth() -
setLineWidth
Set the line width of the series- Parameters:
lineWidth-
-
getxAxisDataType
-
getyAxisDataType
-