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()voidDefines how many units of the defined type to use.voidsetDataGrouping(DataGrouping dataGrouping) Defines a custom data grouping definition for the buttonvoidDefines the text for the buttonvoidsetType(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-
-