mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
35 lines
785 B
JSON
35 lines
785 B
JSON
{
|
|
"config": {
|
|
"type": "line",
|
|
"data": {
|
|
"labels": ["A", "B", "C", "D", "E"],
|
|
"datasets": [{
|
|
"data": [10, 20, 30, 40, 50],
|
|
"backgroundColor": "#00ff00",
|
|
"borderWidth": 0,
|
|
"label": ""
|
|
}]
|
|
},
|
|
"options": {
|
|
"plugins": {
|
|
"legend": {
|
|
"position": "chartArea"
|
|
}
|
|
},
|
|
"scales": {
|
|
"x": {
|
|
"display": false
|
|
},
|
|
"y": {
|
|
"display": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"canvas": {
|
|
"height": 256,
|
|
"width": 512
|
|
}
|
|
}
|
|
} |