Home forums Using CanvasJS How can i change Legend lineColor

This topic contains 2 replies, has 2 voices, and was last updated by  KUmemura 9 months ago.

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

    KUmemura
    Member

    Hi CanvasJS Support Forum,

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

    jsFiddle

    Thanks,

    #19953

    Indranil Deo
    Member

    @kumemura,

    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

    #19956

    KUmemura
    Member

    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.