Home forums Using CanvasJS Inserting Images!

This topic contains 2 replies, has 2 voices, and was last updated by  Sunil Urs 3 years, 1 month ago.

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

    Fezzo
    Participant

    Hey there,
    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?

    Thanks!!!

    #5399

    Fezzo
    Participant

    FOLLOW-UP: I suppose a better question would be: is there any way to get html code working in the dataPoints/indexLabel chart option?

    #5406

    Sunil Urs
    Keymaster

    Fezzo,

    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.


    Sunil

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

You must be logged in to reply to this topic.