Class RangeSelectorButton
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.RangeSelectorButton
- All Implemented Interfaces:
Serializable
Options for range selector buttons.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRangeSelectorButton
(RangeSelectorTimespan type, Number count, String text) RangeSelectorButton
(RangeSelectorTimespan type, String text) -
Method Summary
Modifier and TypeMethodDescriptiongetCount()
getText()
getType()
void
Defines how many units of the defined type to use.void
setDataGrouping
(DataGrouping dataGrouping) Defines a custom data grouping definition for the buttonvoid
Defines the text for the buttonvoid
setType
(RangeSelectorTimespan type) Defines the timespan for the button
-
Constructor Details
-
RangeSelectorButton
public RangeSelectorButton() -
RangeSelectorButton
-
RangeSelectorButton
-
-
Method Details
-
getType
- See Also:
-
setType
Defines the timespan for the button- Parameters:
type
-
-
getCount
- See Also:
-
setCount
Defines how many units of the defined type to use.- Parameters:
count
-
-
getText
- See Also:
-
setText
Defines the text for the button- Parameters:
text
-
-
getDataGrouping
- See Also:
-
setDataGrouping
Defines a custom data grouping definition for the button- Parameters:
dataGrouping
-
-