Home Forums Feature Requests & Feedback Show lines as dotted in legend

Show lines as dotted in legend

Viewing 2 posts - 1 through 2 (of 2 total)
  • #60304

    I created a dotted line but the legend shows a continuous line. this is confusing!

    #60305

    @scompliance,

    Changing legend line dash type is not possible as of now. However, you can achieve rendering broken line in legend by setting the legendMarkerColor to white (same as chart background) and legendMarkerType to triangle. Please take a look at this JSFiddle for an example of the same.

    chart with dashed legend


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.