Class GaugeSeries

All Implemented Interfaces:
ColorizedSeries<GaugeSeries>

public class GaugeSeries extends AxesBaseSeries implements ColorizedSeries<GaugeSeries>
Series object displayed on gauge charts.
Since:
4.0
Author:
JBStrap
  • Constructor Details

    • GaugeSeries

      public GaugeSeries(String title)
      Creates a series object to be displayed on a gauge chart.
      Parameters:
      title - Series title (required)
      Throws:
      NullPointerException - Thrown if the specified series name is null
    • GaugeSeries

      public GaugeSeries(String title, String dataColumn)
      Creates a series object to be displayed on a gauge chart.
      Parameters:
      title - Series title (required)
      dataColumn - The name of the data column that contains the displayed series in the DataDescriptor
      Throws:
      NullPointerException - Thrown if the specified series name is null
  • Method Details

    • fromSeries

      public static GaugeSeries fromSeries(Series series)
      Creates a gauge series object based on an other Series object.
      Parameters:
      series - The series object used to create the gauge series All of the specified series object’s settings are taken over by the gauge series. If the specified series does not have the attributes necessary for the gauge series, the gauge series is created using default values.
      Returns:
      The created gauge series object