iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.82k stars 284 forks source link

chart.js : How to set min or max value for y #539

Open giceli opened 1 year ago

giceli commented 1 year ago

{ "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 ?