Home › forums › Using CanvasJS › Need to remove font weight of canvas title
This topic contains 3 replies, has 2 voices, and was last updated by Indranil Deo 7 months, 3 weeks ago.
Hello Canvas JS team,
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.
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.
I have tried it but it is not showing any effect.
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.