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 typevoidSets the data to create dataSetsvoidsetOptions(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:
getTypein classChartModel- Returns:
- type of current chart
-
getData
Gets the data to create dataSets- Specified by:
getDatain classChartModel- Returns:
- data
-
setData
Sets the data to create dataSets- Parameters:
data- TheChartDataobject
-
getOptions
Gets the configuration options- Specified by:
getOptionsin classChartModel- Returns:
- options
-
setOptions
Sets the configuration options- Parameters:
options- TheLineChartOptionsobject
-