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 10 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23871

    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.

    #23882

    @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.

    __________
    Indrail Deo,
    Team CanvasJS

    #23889

    Hello Indranil,

    I have tried it but it is not showing any effect.

    https://jsfiddle.net/cwmx4azj/10/

    #23893

    @tejal,

    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.

    __________
    Indrail Deo,
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.