Home forums Chart Support adding font to canvasjs


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #23386

    how can i add my own font to canvasjs (in css i use font-face property and give it a url to be able to use my font but in canvas i dont know how to do that



    You can change font-family of title, axis-title, axis-labels by setting fontFamily, titleFontFamily and labelFontFamily respectively. Please take a look at this JSFiddle, where Google Font is used for title.

    Vishwas R
    Team CanvasJS


    @Vishwas R
    Thank you i got it

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

You must be logged in to reply to this topic.