Home forums Feature Requests & Feedback Missing option legendLineDashType

This topic contains 3 replies, has 2 voices, and was last updated by  Vishwas R 1 year, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #19395


    We are looking for an option to make the lineDashType of the plotted line visible in the legend.

    When setting [legendMarkerType: “none”] all legends show a solid color bar, but not the lineDashType applied, to make the charts more readable it would be very helpful if the plotted legend line would also show the lineDashType used for that series. If needed this could be achieved by adding an extra option to the data called legendLineDashType.

    If needed we are willing to pay extra for this feature.

    Kind regards.



    We are not accepting custom-development at this point of time. However without legendLineDashType property also you can achieve the same as shown in this jsfiddle.

    Vishwas R
    Team CanvasJS


    Hi Vishwas,

    Thank you for the example, any way to support more dashtypes in the legend, we are using 4 at the moment, like dot dot dot and dot dot dash?

    Thank you.



    We don’t have plans on supporting dashtypes in legends as of now. But we will consider it for future releases.

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.