Open giceli opened 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 ?
{ "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 ?