Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想制作这样的条形图..在chart.js中可以吗?
假设 OK、Difficult 和 Problematic 有其自身的价值。
例子:
是的,像这样:
options: { scales: { yAxes: [{ ticks: { userCallback: function(value) { return value; }, stepSize: 1 } }] }, },
您还可以设置步长。