mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-02-01 17:47:09 +00:00
52 lines
868 B
JavaScript
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
|
|
}
|
|
}
|
|
};
|