Home Forums Chart Support add more legends Reply To: add more legends

#36509

@minaisaac1994,

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