Jukka Kurkela 9799dbd5a0
Scale: autoSkip before fit (#8627)
Scale: autoSkip now occurs before fit in the update process
2021-03-13 11:36:12 -05:00

52 lines
868 B
JavaScript

module.exports = {
description: 'https://github.com/chartjs/Chart.js/issues/3694',
tolerance: 0.002,
config: {
type: 'line',
data: {
labels: [
'Aaron',
'Adam',
'Albert',
'Alex',
'Allan',
'Aman',
'Anthony',
'Autoenrolment',
'Avril',
'Bernard'
],
datasets: [{
backgroundColor: 'rgba(252,233,79,0.5)',
borderColor: 'rgba(252,233,79,1)',
borderWidth: 1,
data: [101,
185,
24,
311,
17,
21,
462,
340,
140,
24
]
}],
},
options: {
scales: {
x: {
backgroundColor: '#eee'
}
}
}
},
options: {
spriteText: true,
canvas: {
width: 185,
height: 185
}
}
};