mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
Merge pull request #2015 from nnnick/fix/1962
Disable autoskipper for time scales
This commit is contained in:
commit
2672efad63
@ -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…
Reference in New Issue
Block a user