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


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

    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.


    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.



    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.