mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Disable autoskipper for time scales
This commit is contained in:
parent
37b3fb5d6c
commit
309ab1f477
@ -65,6 +65,9 @@ module.exports = function(Chart) {
|
||||
'quarter': '[Q]Q - YYYY', // Q3
|
||||
'year': 'YYYY' // 2015
|
||||
}
|
||||
},
|
||||
ticks: {
|
||||
autoSkip: false,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ describe('Time scale tests', function() {
|
||||
reverse: false,
|
||||
display: true,
|
||||
callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below,
|
||||
autoSkip: true,
|
||||
autoSkip: false,
|
||||
autoSkipPadding: 20
|
||||
},
|
||||
time: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user