Package org.primefaces.model.charts.line
Class LineChartModel
java.lang.Object
org.primefaces.model.charts.ChartModel
org.primefaces.model.charts.line.LineChartModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ScatterChartModel
Defines the line model used to create line chart component.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()
Gets the data to create dataSetsGets the configuration optionsgetType()
Gets the typevoid
Sets the data to create dataSetsvoid
setOptions
(LineChartOptions options) Sets the configuration optionsMethods inherited from class org.primefaces.model.charts.ChartModel
getExtender, setExtender
-
Constructor Details
-
LineChartModel
public LineChartModel() -
LineChartModel
-
-
Method Details
-
getType
Gets the type- Specified by:
getType
in classChartModel
- Returns:
- type of current chart
-
getData
Gets the data to create dataSets- Specified by:
getData
in classChartModel
- Returns:
- data
-
setData
Sets the data to create dataSets- Parameters:
data
- TheChartData
object
-
getOptions
Gets the configuration options- Specified by:
getOptions
in classChartModel
- Returns:
- options
-
setOptions
Sets the configuration options- Parameters:
options
- TheLineChartOptions
object
-