public class Period extends AbstractChartObject
| Constructor and Description |
|---|
Period() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getCount() |
java.lang.String |
getLabel() |
PeriodType |
getPeriod() |
java.lang.Boolean |
getSelected() |
Period |
setCount(java.lang.Integer count)
Sets how many periods button will select.
|
Period |
setLabel(java.lang.String label)
Sets text label that will be displayed on the button.
|
Period |
setPeriod(PeriodType period) |
Period |
setSelected(java.lang.Boolean selected)
Set selected to true if this button should be selected when the chart is initialized.
|
public PeriodType getPeriod()
@StudioProperty(type=ENUMERATION) public Period setPeriod(PeriodType period)
public java.lang.Integer getCount()
@StudioProperty public Period setCount(java.lang.Integer count)
count - countpublic java.lang.String getLabel()
@StudioProperty public Period setLabel(java.lang.String label)
label - label stringpublic java.lang.Boolean getSelected()
@StudioProperty public Period setSelected(java.lang.Boolean selected)
selected - selected option