Package nl.crashdata.chartjs.data
Interface ChartJsTimeConfig
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SimpleChartJsTimeConfig
public interface ChartJsTimeConfig extends Serializable
Represents the time-specific configuration for a specific axis of the type 'time'. Corresponds to the elements of theconfig.options.scales.xAxes[].timeandconfig.options.scales.yAxes[].timeproperties.- Author:
- haster
- See Also:
- "http://www.chartjs.org/docs/latest/axes/cartesian/time.html"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleangetIsoWeekday()iftrue, Monday will be considered the first day of the week, otherwise it will be Sunday.ChartJsTimeUnitgetMinimumDisplayUnit()NumbergetStepSize()ChartJsTimeUnitgetTimeUnit()
-
-
-
Method Detail
-
getIsoWeekday
Boolean getIsoWeekday()
iftrue, Monday will be considered the first day of the week, otherwise it will be Sunday. Only relevant if the unit is set toChartJsTimeUnit.WEEK
-
getTimeUnit
ChartJsTimeUnit getTimeUnit()
-
getMinimumDisplayUnit
ChartJsTimeUnit getMinimumDisplayUnit()
-
getStepSize
Number getStepSize()
-
-