|
|
|
@ -64,23 +64,6 @@ margin = {
|
|
|
|
|
['red', 'blue', 'green'] |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
- `timeInterval`: interval in minutes (max value = 60) affecting grid and x-axis ticks. |
|
|
|
|
|
|
|
|
|
- `tickFormat`: config to control the axes ticks format. |
|
|
|
|
```js |
|
|
|
|
{ |
|
|
|
|
xAxis: string; // x-axis time format (see [d3-time-format](https://github.com/d3/d3-time-format#locale_format) } |
|
|
|
|
xTickOrientation: TickOrientation; // horizontal, diagonal or vertical orientation |
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
for example: |
|
|
|
|
```js |
|
|
|
|
{ |
|
|
|
|
xAxis: '%Y-%m-%d %H:%M', |
|
|
|
|
xTickOrientation: TickOrientation.DIAGONAL |
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
- `labelFormat`: labels for axes. |
|
|
|
|
``` |
|
|
|
|
{ |
|
|
|
|