February 2019
Beginner to intermediate
284 pages
6h 20m
English
Time scales support all properties for Cartesian scales and add two additional properties, listed in the following table. These properties are configured in each axis (for example, scales.xAxes[0].bounds):
|
Property |
Value |
Description |
|
bounds |
data (default), ticks |
Sets the scale boundary strategy. The default data will re-dimension the axes to fit the data. Using ticks, the chart will be truncated to fit the scales. |
|
distribution |
linear (default) or series |
How the data is distributed on the axis. If series, the data values will be equally spaced. If linear, the instants will be equally spaced. |
In the last example, the bars were unevenly positioned ...
Read now
Unlock full access