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

87 lines
2.5 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)"
}
},
"x2": {
"type": "category",
"position": "bottom",
"ticks": {
"display": false
},
"border": {
"display": false
},
"grid":{
"drawOnChartArea": false,
"color": "rgba(0, 0, 0, 1)"
}
},
"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)"
}
},
"y2": {
"type": "linear",
"position": "right",
"offset": false,
"min": 0,
"max": 50,
"ticks": {
"display": false
},
"border": {
"display": false
},
"grid":{
"offset": false,
"drawOnChartArea": false,
"color": "rgba(0, 0, 0, 1)"
}
}
}
}
},
"options": {
"canvas": {
"height": 256,
"width": 512
}
}
}