请看我突出显示的行。
我需要修改图表js条形图。
enter image description here
但修改它非常复杂。如果有人对图表js有所了解,我们将非常感谢您的帮助。
搞清楚这一点需要查看chart.js配置here。
labels: [["Dept1", 81], ["Dept2", 82], ["Dept3", 83]]
data: [12, -19, 5],
结果小提琴:https://codepen.io/anon/pen/gKRQZG?editors=1000