mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
28 lines
429 B
JavaScript
28 lines
429 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'line',
|
|
options: {
|
|
scales: {
|
|
x: {
|
|
labels: ['Left Label', 'Center Label', 'Right Label'],
|
|
position: {
|
|
y: 30
|
|
},
|
|
},
|
|
y: {
|
|
display: false,
|
|
min: -100,
|
|
max: 100,
|
|
}
|
|
}
|
|
}
|
|
},
|
|
options: {
|
|
canvas: {
|
|
height: 256,
|
|
width: 512
|
|
},
|
|
spriteText: true
|
|
}
|
|
};
|