Home › forums › Using CanvasJS › Inserting Images!
Tagged: canvas js images image indexlabel label picture
This topic contains 2 replies, has 2 voices, and was last updated by Sunil Urs 5 years, 3 months ago.
First off, canvas.js is amazing. Hats off the developers, you guys have made something awesome.
Anyway, question — how does use an image as an indexlabel? (this is for pie charts). So basically, instead of text, I’d like an image (jpg or png file, for example).
I’ve tried creating an image object and using indexLabel: img to no avail :(
Could anyone please help?
FOLLOW-UP: I suppose a better question would be: is there any way to get html code working in the dataPoints/indexLabel chart option?
As of now it is not possible to insert images into the chart. But it is possible to do the same(HTML Tags) inside toolTips.
You must be logged in to reply to this topic.