You must be logged in to post your query.
Home › Forums › Chart Support › Need to remove font weight of canvas title
Hello Canvas JS team,
https://jsfiddle.net/cwmx4azj/3/
In above snippet even though I have added fontWeight property for canvas title still it looks bolder. How can I make it to appear like normal text withougth fontweight.
@tejal,
CanvasJS uses “Impact” as a default font-family for the title, which is only available as bold. Setting the fontFamily of the title to a different font style and the fontWeight: "lighter" should work fine in your case.
fontWeight: "lighter"
__________ Indrail Deo, Team CanvasJS
Hello Indranil,
I have tried it but it is not showing any effect.
https://jsfiddle.net/cwmx4azj/10/
I checked the provided jsfiddle it seems you have made a typo, instead of fonrFamily it will be fontFamily. Please take a look at this updated jsfiddle.
You must be logged in to reply to this topic. Login/Register