Home forums Using CanvasJS adding font to canvasjs


This topic contains 2 replies, has 2 voices, and was last updated by  antimatter 1 year ago.

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.