February 2019
Beginner to intermediate
284 pages
6h 20m
English
Time scales extend the axis.ticks configuration for Cartesian charts with an additional property, listed here:
|
Property |
Value |
Description |
|
source |
auto (default), data (default, if data in point format), labels (default, if data in array format) |
Selects where to obtain the entries for the time scale. |
The axis.ticks.source property allows you to select the source of the data for the time scale. If your dataset is a simple array and the dates are in the labels array, the default configuration will automatically get the dates from there. You can also set this property explicitly:
const dataset = [], labels = []; let date = moment('20181120'); for(let ...Read now
Unlock full access