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 1 year, 3 months ago.
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
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.
You must be logged in to reply to this topic.