mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
c527f47a89
Added a test in the boundary folder
54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"config": {
|
|
"type": "line",
|
|
"data": {
|
|
"labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"],
|
|
"datasets": [{
|
|
"borderColor": "rgb(42, 90, 145)",
|
|
"data": [4, 12, 30, 36, 45, 53, 68, 79, null, 95, 18, null, 18, 180],
|
|
"fill": {
|
|
"target": "+1",
|
|
"above": "rgba(4, 142, 43, 0.5)",
|
|
"below": "rgba(241, 49, 34, 0.5)"
|
|
}
|
|
}, {
|
|
"borderColor": "#00ADEE",
|
|
"data": [0, 0, 0, 0, 0, 0, 20, 108, null, 72, 72, null, 72, 72],
|
|
"fill": false
|
|
}]
|
|
},
|
|
"options": {
|
|
"responsive": false,
|
|
"spanGaps": false,
|
|
"scales": {
|
|
"x": {
|
|
"display": false
|
|
},
|
|
"y": {
|
|
"display": false
|
|
}
|
|
},
|
|
"elements": {
|
|
"point": {
|
|
"radius": 0
|
|
},
|
|
"line": {
|
|
"cubicInterpolationMode": "monotone",
|
|
"borderColor": "transparent"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"legend": false,
|
|
"title": false,
|
|
"tooltip": false
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"canvas": {
|
|
"height": 256,
|
|
"width": 512
|
|
}
|
|
}
|
|
}
|