mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
37 lines
508 B
JavaScript
37 lines
508 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'line',
|
|
data: {
|
|
datasets: [
|
|
{label: 'a', data: []},
|
|
{label: 'b', data: []},
|
|
{label: 'c', data: []}
|
|
]
|
|
},
|
|
options: {
|
|
plugins: {
|
|
legend: {
|
|
position: 'top',
|
|
align: 'center',
|
|
title: {
|
|
display: true,
|
|
position: 'center',
|
|
text: 'title'
|
|
}
|
|
}
|
|
},
|
|
scales: {
|
|
x: {display: false},
|
|
y: {display: false}
|
|
}
|
|
}
|
|
},
|
|
options: {
|
|
spriteText: true,
|
|
canvas: {
|
|
height: 256,
|
|
width: 256
|
|
}
|
|
}
|
|
};
|