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