Chart.Axes.DateTime
Hierarchy
Common.AxisBaseChart.Axes.AxisChart.Axes.LinearChart.Axes.DateTime
The DateTime Axis maps time values evenly between a minimum and maximum value along a chart axis. By default, it determines minimum, maximum, interval and intervalType values from the charting data to fit all of the chart elements on the screen. You can also explicitly set specific values for these properties.
The DateTime Axis chooses the most reasonable intervals to mark the axis by examining the range between the minimum and maximum values of the axis.
Config options
Specifies whether or not the axis range should be extended to the origin.
The "extendRangeToOrigin" option of the linear axis is used when you want to display the origin (0 or the 'crossing' value) on the linear axis, but you don't want to have to set "minimum" or "maximum" because your data could have positive or negative values - or both.
Defaults to: false
Specifies how often points are plotted along that axis.
Automatically calculated if it is not set.
specifies the date time interval type - 'years' | 'months' | 'weeks' | 'days' | 'minutes' | 'seconds' | 'millisecond'
Automatically calculated if it is not set.
Specifies the axis labels.
Defaults to: {visible: true, fillStyle: 'black', lineWidth: 1, font: '11px sans-serif', position: 'outside', showLastLabel: true, showFirstLabel: true, hAlign: 'center', vAlign: 'center'}
Specifies the axis location - 'right', 'bottom', 'left' or 'top'.
Defaults to: 'left'
Specifies whether or not the axis scale is logarithmic.
Defaults to: false
Specifies the axis maximum.
Automatically calculated if it is not set.
Overrides: Chart.Axes.Linear.maximum
Specifies the axis minimum.
Automatically calculated if it is not set.
Overrides: Chart.Axes.Linear.minimum
Specifies how big is the step when scroll with mouse wheel.
Defaults to: 0.05
Specifies how big is the step when zoom with mouse wheel.
Defaults to: 0.001
Specifies the axis range slider.
Defaults to: {visible: true, breadth: 20}
Specifies whether or not the axis scale is reversed.
Defaults to: false
Specifies whether or not to skip the days, which don't have data (like weekends and holidays).
Defaults to: false
Specifies the axis line stroke dash array - [2, 4].
Specifies the axis line stroke dash array - [2, 4].
Specifies the axis type - 'category', 'linear', 'dateTime', 'categoryAngle', 'linearRadius' or 'linearAngle'.
Specifies the axis type - 'category', 'linear', 'dateTime', 'categoryAngle', 'linearRadius' or 'linearAngle'.
Specifies whether or not this axis should be displayed.
Defaults to: true