我正在使用chart.js显示一些带有以下标签的长线图:
labels : ["2014","sem I","sem II","sem III","sem IV","2015","sem I","sem II","sem III","sem IV","2016","sem I","sem II","sem III","sem IV",]
我想知道的是,是否有可能只用粗体编写年份,以获得更好的可读性?
最佳答案
// String - Scale label font weight style
scaleFontStyle: "normal",
关于javascript - Chart.js是否可以设置标签样式?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/29650359/