Home forums Report Bugs legend Line Color does not inherit color of data series

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Indranil Deo 1 month ago.

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

    cpopolo
    Member

    There does not appear to be a legendLineColor property – when I change the lineColor for the data series, the legend continues to show the line in blue. The markerColor and markerBorderColor are correctly used in the legend but not the line color.

    #18295

    cpopolo
    Member

    SOLVED: Setting the “color” property seems to control the legend as well as the data series. Setting the legend and marker colors alone wasn’t sufficient.

    #18309

    Indranil Deo
    Member

    @cpopolo,

    Glad you figured it out. Also, you can set the legend marker color using the legendMarkerColor property. Please take a look at this documentation page.

    __________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.