Package org.primefaces.model.charts
Class ChartData
java.lang.Object
org.primefaces.model.charts.ChartData
- All Implemented Interfaces:
Serializable
@Deprecated(since="14.0.0",
forRemoval=true)
public class ChartData
extends Object
implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
please use new p:chart component
The data configuration for Charts
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.ChartData
(List<ChartDataSet> dataSet, Object labels) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChartDataSet
(ChartDataSet newDataSet) Deprecated, for removal: This API element is subject to removal in a future version.Adds a new dataSet asChartDataSet
data to dataSet optionDeprecated, for removal: This API element is subject to removal in a future version.Gets the dataSetDeprecated, for removal: This API element is subject to removal in a future version.Gets the labelsvoid
Deprecated, for removal: This API element is subject to removal in a future version.Sets the labels
-
Constructor Details
-
ChartData
public ChartData()Deprecated, for removal: This API element is subject to removal in a future version. -
ChartData
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getDataSet
Deprecated, for removal: This API element is subject to removal in a future version.Gets the dataSet- Returns:
- dataSet
-
getLabels
Deprecated, for removal: This API element is subject to removal in a future version.Gets the labels- Returns:
- labels
-
setLabels
Deprecated, for removal: This API element is subject to removal in a future version.Sets the labels- Parameters:
labels
- the object of labels as String or List
-
addChartDataSet
Deprecated, for removal: This API element is subject to removal in a future version.Adds a new dataSet asChartDataSet
data to dataSet option- Parameters:
newDataSet
-
-