Home forums Using CanvasJS How can i change Legend lineColor

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

    Hi CanvasJS Support Forum,

    I want to make the line color of the line1 legend together with the graph.





    Setting color to dataSeries will apply color to line, legend-marker, toolTip. So setting color instead of lineColor should work fine in this case.

    Please take a look at this updated jsfiddle.

    Indranil Deo,
    Team CanvasJS

    • This reply was modified 1 year, 11 months ago by Indranil Deo.

    Hi @Indranil Deo

    Thank you for your help.

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

You must be logged in to reply to this topic.