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 SummaryConstructors
- 
Method SummaryModifier 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- 
Periodpublic Period()
 
- 
- 
Method Details- 
getPeriod
- 
setPeriod
- 
getCount- Returns:
- count of periods
 
- 
setCountSets how many periods button will select.- Parameters:
- count- count
- Returns:
- period
 
- 
getLabel- Returns:
- text label that is displayed on the button
 
- 
setLabelSets 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
 
- 
setSelectedSet selected to true if this button should be selected when the chart is initialized.- Parameters:
- selected- selected option
- Returns:
- period
 
 
-