Package com.jbstrap.ui.components.charts
Class GaugeSeries
java.lang.Object
com.jbstrap.ui.components.charts.Series
com.jbstrap.ui.components.charts.AxesBaseSeries
com.jbstrap.ui.components.charts.GaugeSeries
- All Implemented Interfaces:
ColorizedSeries<GaugeSeries>
Series object displayed on gauge charts.
- Since:
- 4.0
- Author:
- JBStrap
-
Field Summary
Fields inherited from class com.jbstrap.ui.components.charts.AxesBaseSeries
VALUE_TANGENTFields inherited from class com.jbstrap.ui.components.charts.Series
CATEGORY_COLUMN, COLOR_COLUMN, colorColumn, DATA_COLUMN, dataColumn, LABEL_COLUMN, labelColumn, MARKER_SIZE, MARKER_TYPE, param, parentChartFields inherited from interface com.jbstrap.ui.components.charts.ColorizedSeries
COLOR -
Constructor Summary
ConstructorsConstructorDescriptionGaugeSeries(String title) Creates a series object to be displayed on a gauge chart.GaugeSeries(String title, String dataColumn) Creates a series object to be displayed on a gauge chart. -
Method Summary
Modifier and TypeMethodDescriptionstatic GaugeSeriesfromSeries(Series series) Creates a gauge series object based on an other Series object.Methods inherited from class com.jbstrap.ui.components.charts.AxesBaseSeries
isShowCategoryValueTangent, isShowSeriesValueTangent, setShowCategoryValueTangent, setShowSeriesValueTangentMethods inherited from class com.jbstrap.ui.components.charts.Series
addData, addData, addData, addData, clear, getColorColumn, getData, getDataColumn, getLabelColumn, getMarker, getMarkerSize, getMarkerType, getParams, getTitle, getValues, isEmpty, refreshMarker, removeDataByCategory, removeDataByIndex, setColorColumn, setDataColumn, setLabelColumn, setMarkerSize, setMarkerType, setParams, setParentChartMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jbstrap.ui.components.charts.ColorizedSeries
getColor, setColor
-
Constructor Details
-
GaugeSeries
Creates a series object to be displayed on a gauge chart.- Parameters:
title- Series title (required)- Throws:
NullPointerException- Thrown if the specified series name isnull
-
GaugeSeries
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 isnull
-
-
Method Details
-
fromSeries
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
-