Home forums Using CanvasJS pyramid chart with legend

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 2 months, 3 weeks ago.

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

    Hello,
    How can I add legend to pyramid chart?

    Thanks,

    #23894

    @fbahashwan,

    You can achieve the above requirement by setting the legendText for each dataPoint and the showInLegend property to true. Please take a look at this jsfiddle.

    __________
    Indrail Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.