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.
  • Field Details

    • 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 BasicStroke stroke
      Line Style
    • lineColor

      private Color lineColor
      Line Color
    • lineWidth

      private float lineWidth
      Line Width
  • Constructor Details

    • AxesChartSeries

      protected AxesChartSeries(String name, Series.DataType xAxisDataType)
      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

      public BasicStroke getLineStyle()
    • setLineStyle

      public AxesChartSeries setLineStyle(BasicStroke basicStroke)
      Set the line style of the series
      Parameters:
      basicStroke -
    • getLineColor

      public Color getLineColor()
    • setLineColor

      public AxesChartSeries setLineColor(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()