mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Enable autoSkip for time scale to match others (#7570)
This commit is contained in:
parent
87c59fea73
commit
a33086bfc1
@ -156,7 +156,8 @@ options: {
|
||||
}
|
||||
```
|
||||
|
||||
Also, the time scale option `distribution: 'series'` was removed and a new scale type `timeseries` was introduced in its place.
|
||||
* The time scale option `distribution: 'series'` was removed and a new scale type `timeseries` was introduced in its place
|
||||
* In the time scale, `autoSkip` is now enabled by default for consistency with the other scales
|
||||
|
||||
#### Animations
|
||||
|
||||
|
@ -219,8 +219,6 @@ const defaultConfig = {
|
||||
displayFormats: {}
|
||||
},
|
||||
ticks: {
|
||||
autoSkip: false,
|
||||
|
||||
/**
|
||||
* Ticks generation input values:
|
||||
* - 'auto': generates "optimal" ticks based on scale size and time options.
|
||||
|
@ -88,7 +88,7 @@ describe('Time scale tests', function() {
|
||||
padding: 0,
|
||||
display: true,
|
||||
callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below,
|
||||
autoSkip: false,
|
||||
autoSkip: true,
|
||||
autoSkipPadding: 0,
|
||||
labelOffset: 0,
|
||||
minor: {},
|
||||
|
Loading…
Reference in New Issue
Block a user