Home › forums › Chart Support › adding font to canvasjs
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.
Thank you i got it
You must be logged in to reply to this topic.