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 1 year, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8400

    hmokdad.lb
    Participant

    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?

    Thanks

    #8417

    hmokdad.lb
    Participant

    Hi,

    Anybody got something on this, thanks

    #8418

    Anjali
    Participant

    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.

    __
    Anjali

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

You must be logged in to reply to this topic.