Home › forums › Using CanvasJS › Get the color of the last line added to a Trend
This topic contains 2 replies, has 2 voices, and was last updated by Anjali 2 years ago.
Hi, I have built a chart that shows data based on items selected from a checkbox list. However I need to color the checkbox based on the line that represents it, how can I get the color of the last line added?
Anybody got something on this, thanks
As of now it is not possible to find out automatically set colors of dataSeries. But you can set color to dataSeries yourself so that you can use the same for checkbox.
You must be logged in to reply to this topic.
ASP.NET MVC Charts
ContactSales EnquiriesSupport ForumTwitter Support Handle