Chart.js/test/fixtures/core.scale/tick-override-styles.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

61 lines
1.7 KiB
JSON

{
"config": {
"type": "bar",
"data": {
"labels": ["January", "February", "March", "April", "May", "June", "July"],
"datasets": []
},
"options": {
"indexAxis": "y",
"scales": {
"x": {
"type": "category",
"position": "top",
"id": "x-axis-1",
"ticks": {
"display": false
},
"border": {
"display": false
},
"grid":{
"drawOnChartArea": false,
"color": "rgba(0, 0, 0, 1)",
"width": 1,
"tickColor": "rgba(255, 0, 0, 1)",
"tickWidth": 5
}
},
"y": {
"position": "left",
"id": "y-axis-1",
"type": "linear",
"offset": false,
"min": -100,
"max": 100,
"ticks": {
"display": false
},
"border": {
"display": false
},
"grid":{
"offset": false,
"drawOnChartArea": false,
"color": "rgba(0, 0, 0, 1)",
"tickColor": "rgba(255, 0, 0, 1)",
"tickWidth": 5
}
}
}
}
},
"options": {
"canvas": {
"height": 256,
"width": 512
}
}
}