Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chart.js is it possible to style the labels?

I'm using the chart.js to display some long line charts with the following labels:

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",]

All I want to know is if its possible to make only the years in bold for a better readability?

like image 465
calculataur Avatar asked Apr 15 '15 12:04

calculataur


1 Answers

From the documentation:

// String - Scale label font weight style
scaleFontStyle: "normal",
like image 137
Dagriel Avatar answered Sep 20 '22 22:09

Dagriel