Package io.jmix.charts.model.period
Class Period
java.lang.Object
io.jmix.charts.model.AbstractChartObject
io.jmix.charts.model.period.Period
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()
getLabel()
Sets how many periods button will select.Sets text label that will be displayed on the button.setPeriod
(PeriodType period) setSelected
(Boolean selected) Set selected to true if this button should be selected when the chart is initialized.
-
Constructor Details
-
Period
public Period()
-
-
Method Details
-
getPeriod
-
setPeriod
-
getCount
- Returns:
- count of periods
-
setCount
Sets how many periods button will select.- Parameters:
count
- count- Returns:
- period
-
getLabel
- Returns:
- text label that is displayed on the button
-
setLabel
Sets text label that will be displayed on the button.- Parameters:
label
- label string- Returns:
- period
-
getSelected
- Returns:
- true if this button is selected when the chart is initialized
-
setSelected
Set selected to true if this button should be selected when the chart is initialized.- Parameters:
selected
- selected option- Returns:
- period
-