Chart.js/test/fixtures/core.scale/label-offset-vertical-axes.json
Jacco van den Berg 3eb947719e
Put the border opts in own object (#10571)
* 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
2022-08-18 15:07:46 +02:00

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
}
}
}