Home › forums › Using CanvasJS › how to add variabele Legend to a graph
Tagged: graph, legend, pie, variable
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.
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.
You must be logged in to reply to this topic.