We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.charts.model.
Class RangeSelectorButton
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.RangeSelectorButton
-
All Implemented Interfaces:
public class RangeSelectorButton extends AbstractConfigurationObject
Options for range selector buttons.
See Also:
-
-
Constructor Summary
Constructors Constructor Description RangeSelectorButton()
RangeSelectorButton(RangeSelectorTimespan type, Number count, String text)
RangeSelectorButton(RangeSelectorTimespan type, String text)
-
Method Summary
All Methods Modifier and Type Method Description Number
getCount()
DataGrouping
getDataGrouping()
String
getText()
RangeSelectorTimespan
getType()
void
setCount(Number count)
Defines how many units of the defined type to use.
void
setDataGrouping(DataGrouping dataGrouping)
Defines a custom data grouping definition for the button
void
setText(String text)
Defines the text for the button
void
setType(RangeSelectorTimespan type)
Defines the timespan for the button
-
-
-
Constructor Detail
-
RangeSelectorButton
public RangeSelectorButton()
-
RangeSelectorButton
public RangeSelectorButton(RangeSelectorTimespan type, Number count, String text)
-
RangeSelectorButton
public RangeSelectorButton(RangeSelectorTimespan type, String text)
-
-
Method Detail
-
getType
public RangeSelectorTimespan getType()
See Also:
-
setType
public void setType(RangeSelectorTimespan type)
Defines the timespan for the button
Parameters:
type
-
-
getCount
public Number getCount()
See Also:
-
setCount
public void setCount(Number count)
Defines how many units of the defined type to use.
Parameters:
count
-
-
getText
public String getText()
See Also:
-
setText
public void setText(String text)
Defines the text for the button
Parameters:
text
-
-
getDataGrouping
public DataGrouping getDataGrouping()
See Also:
-
setDataGrouping
public void setDataGrouping(DataGrouping dataGrouping)
Defines a custom data grouping definition for the button
Parameters:
dataGrouping
-
-
-