mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
3eb947719e
* put borderOpts in own object * document z option * remove todo and change scaleId to id * update some tests * clean bit, remove console log * fix failing test * lint * Remove comment
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"config": {
|
|
"type": "bar",
|
|
"data": {
|
|
"labels": ["\u25C0", "\u25A0", "\u25C6", "\u25CF"],
|
|
"datasets": [{
|
|
"data": [12, 19, 3, 5]
|
|
}]
|
|
},
|
|
"options": {
|
|
"indexAxis": "y",
|
|
"scales": {
|
|
"x": {
|
|
"ticks": {
|
|
"display": false
|
|
},
|
|
"grid":{
|
|
"display": false
|
|
},
|
|
"border": {
|
|
"display": false
|
|
}
|
|
},
|
|
"y": {
|
|
"ticks": {
|
|
"labelOffset": 25
|
|
},
|
|
"border": {
|
|
"display": false
|
|
},
|
|
"grid":{
|
|
"display": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"canvas": {
|
|
"height": 256,
|
|
"width": 512
|
|
}
|
|
}
|
|
}
|