Home forums Using CanvasJS Legend with color in Bar Chart

This topic contains 1 reply, has 2 voices, and was last updated by  Suyash Singh 2 weeks, 2 days ago.

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

    Hi , I am using canvasjs Chart , i want to display Dataname with Legend color ,Click on Example,now i want 20 in red color legend,100 in blue color legend etc.
    , what to do for that

    • This topic was modified 2 weeks, 2 days ago by  Rajesh Nangar.
    #17476

    Suyash Singh
    Moderator

    @rajesh-nangar,

    Currently legend items are available only at data-series level – Pie, Doughnut, Funnel & Pyramid charts being exceptions where legends are supported at dataPoint level. You might try separating the dataPoints to different data series.
    ___
    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.