Package org.knowm.xchart.internal.series
Class AxesChartSeries
- java.lang.Object
-
- org.knowm.xchart.internal.series.Series
-
- org.knowm.xchart.internal.series.AxesChartSeries
-
- Direct Known Subclasses:
HeatMapSeries,MarkerSeries
public abstract class AxesChartSeries extends Series
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 org.knowm.xchart.internal.series.Series
Series.DataType
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.ColorlineColorLine Colorprivate floatlineWidthLine Widthprivate java.awt.BasicStrokestrokeLine Style(package private) Series.DataTypexAxisDataTypeprotected doublexMaxthe maximum value of axis rangeprotected doublexMinthe minimum value of axis range(package private) Series.DataTypeyAxisTypeprotected doubleyMaxthe maximum value of axis rangeprotected doubleyMinthe minimum value of axis range
-
Constructor Summary
Constructors Modifier Constructor Description protectedAxesChartSeries(java.lang.String name, Series.DataType xAxisDataType)ConstructorprotectedAxesChartSeries(java.lang.String name, Series.DataType xAxisDataType, Series.DataType yAxisDataType)Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidcalculateMinMax()java.awt.ColorgetLineColor()java.awt.BasicStrokegetLineStyle()floatgetLineWidth()Series.DataTypegetxAxisDataType()doublegetXMax()doublegetXMin()Series.DataTypegetyAxisDataType()doublegetYMax()doublegetYMin()AxesChartSeriessetLineColor(java.awt.Color color)Set the line color of the seriesAxesChartSeriessetLineStyle(java.awt.BasicStroke basicStroke)Set the line style of the seriesAxesChartSeriessetLineWidth(float lineWidth)Set the line width of the series-
Methods inherited from class org.knowm.xchart.internal.series.Series
getFillColor, getLabel, getLegendRenderType, getName, getYAxisDecimalPattern, getYAxisGroup, isEnabled, isShowInLegend, setEnabled, setFillColor, setLabel, setShowInLegend, setYAxisDecimalPattern, setYAxisGroup
-
-
-
-
Field Detail
-
xAxisDataType
final Series.DataType xAxisDataType
-
yAxisType
final Series.DataType yAxisType
-
xMin
protected double xMin
the minimum value of axis range
-
xMax
protected double xMax
the maximum value of axis range
-
yMin
protected double yMin
the minimum value of axis range
-
yMax
protected double yMax
the maximum value of axis range
-
stroke
private java.awt.BasicStroke stroke
Line Style
-
lineColor
private java.awt.Color lineColor
Line Color
-
lineWidth
private float lineWidth
Line Width
-
-
Constructor Detail
-
AxesChartSeries
protected AxesChartSeries(java.lang.String name, Series.DataType xAxisDataType)Constructor- Parameters:
name-xAxisDataType-
-
AxesChartSeries
protected AxesChartSeries(java.lang.String name, Series.DataType xAxisDataType, Series.DataType yAxisDataType)Constructor- Parameters:
name-xAxisDataType-yAxisDataType-
-
-
Method Detail
-
calculateMinMax
protected abstract void calculateMinMax()
-
getXMin
public double getXMin()
-
getXMax
public double getXMax()
-
getYMin
public double getYMin()
-
getYMax
public double getYMax()
-
getLineStyle
public java.awt.BasicStroke getLineStyle()
-
setLineStyle
public AxesChartSeries setLineStyle(java.awt.BasicStroke basicStroke)
Set the line style of the series- Parameters:
basicStroke-
-
getLineColor
public java.awt.Color getLineColor()
-
setLineColor
public AxesChartSeries setLineColor(java.awt.Color color)
Set the line color of the series- Parameters:
color-
-
getLineWidth
public float getLineWidth()
-
setLineWidth
public AxesChartSeries setLineWidth(float lineWidth)
Set the line width of the series- Parameters:
lineWidth-
-
getxAxisDataType
public Series.DataType getxAxisDataType()
-
getyAxisDataType
public Series.DataType getyAxisDataType()
-
-