public class SimpleChartJsTimeConfig extends Object implements ChartJsTimeConfig
| Constructor and Description |
|---|
SimpleChartJsTimeConfig() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getIsoWeekday()
if
true, Monday will be considered the first day of the week, otherwise it will be
Sunday. |
ChartJsTimeUnit |
getMinimumDisplayUnit() |
Number |
getStepSize() |
ChartJsTimeUnit |
getTimeUnit() |
void |
setIsoWeekday(Boolean isoWeekday) |
void |
setMinimumDisplayUnit(ChartJsTimeUnit minimumDisplayUnit) |
void |
setStepSize(Number stepSize) |
void |
setTimeUnit(ChartJsTimeUnit timeUnit) |
public Boolean getIsoWeekday()
ChartJsTimeConfigtrue, Monday will be considered the first day of the week, otherwise it will be
Sunday. Only relevant if the unit is set to ChartJsTimeUnit.WEEKgetIsoWeekday in interface ChartJsTimeConfigpublic void setIsoWeekday(Boolean isoWeekday)
public ChartJsTimeUnit getTimeUnit()
getTimeUnit in interface ChartJsTimeConfigpublic void setTimeUnit(ChartJsTimeUnit timeUnit)
public ChartJsTimeUnit getMinimumDisplayUnit()
getMinimumDisplayUnit in interface ChartJsTimeConfigpublic void setMinimumDisplayUnit(ChartJsTimeUnit minimumDisplayUnit)
public Number getStepSize()
getStepSize in interface ChartJsTimeConfigpublic void setStepSize(Number stepSize)
Copyright © 2018. All rights reserved.