Home forums Using CanvasJS how to add variabele Legend to a graph

Tagged: , , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Sunil Urs 2 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6518


    I’m trying to make a pie chart, which contains variable data and variabele names for the legend of my graph.
    I know you can add variable data to your graph (with a weakly typed array), but I don’t know how you can add a similar legend to it.

    if anyone can help me out, I’d really appreciate it.


    Sunil Urs

    I did not what you mean by Vaiable Legend. But In case of Pie Chart a legend is shown for each dataPoint automatically if you set showInLegend to true.

    If this doesn’t not answer your question please explain your requirement with some picture that depicts the same.

    Sunil Urs

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

You must be logged in to reply to this topic.