Home Forums Chart Support add more legends

add more legends

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

    hey there, I have a chart with three different column, I wanted to add more than three legend icon at the bottom.
    thank you



    Legends will be shown for each dataSeries and having multiple legends of individual dataSeries is not available as of now. As you like to add extra legends than the number of dataSeries, you can add dummy dataSeries of scatter or line chart-type & enable legends of those series by setting showInLegend property to true. Please check out the below code-snippet showing the same.

        type: "scatter",
        showInLegend: true,
        dataPoints: [{}]

    Ranjitha R
    Team CanvasJS

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

You must be logged in to reply to this topic.