iamcco / iamcco/markdown-preview.nvim
chart.js : How to set min or max value for y
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 411
- PR merge metrics
- No merged PRs in 30d
Description
{
"type": "bar",
"data": {
"labels": ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],
"datasets": [{
"label": "Votes",
"backgroundColor": "#0086",
"data": [12, 19, 3, 5, 2, 3],
"borderWidth": 1
}]
},
"options": {
"scales": {
"y": {
"min": 0
}
}
}
}

the min value of 'y' is not 0, it seems that options does not work, how can i set the min value of y to 0 ?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.