Home forums Using CanvasJS Legend Marker Type for Line graphs not shown

This topic contains 3 replies, has 2 voices, and was last updated by  Indranil Deo 7 months ago.

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

    Hello,

    I cannot give different kinds of legend marker type on a line chart, like square, circle etc. Its always is shown as a line. Nothing else. Thanks

    #24427

    @msingh,

    Legend marker is shown in the center of the Legend. It can be a “circle”, “square”, “cross” and “triangle” and it seems to be working fine at our end. Can you please create a jsfiddle reproducing the issue so that we can look into your code understand it better and help you out.

    ___________
    Indranil Deo,
    Team CanvasJS

    #24435

    Hi,

    Thanks, It is working, I had mentioned the markerSize to be 0,
    I have another concern, I do not want the line in the legend to be shown, I want it to be just as a square, instead of the line on top of which the marker is shown , like it is in other graphs, for e.g column.

    #24438

    @msingh,

    Sorry, removing the line from the legend marker in case of line chart is not possible as of now.

    ___________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.