Home forums Using CanvasJS Drag and Drop line chart points for redraw

Tagged: ,

This topic contains 5 replies, has 2 voices, and was last updated by  Sanjoy 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10445

    Cameron
    Member

    I am using Line chart for displaying records of multiple players with respect to runs in year. I want points of line chart redraw in line chart. Is it possible or not?

    #10476

    Sanjoy
    Moderator

    Cameron,

    Drag and drop line chart points is not possible directly with existing the API as of now. Here is an example to achieve the same using mouseover, mouseout, and rangeChanging event along with javascript onmousedown event.

    #10482

    Cameron
    Member

    It is only provide for Y-axis is also with X-axis redraw possible.

    #10483

    Sanjoy
    Moderator

    Yeah, in similar way you can select and drag a dataPoint in both the direction(‘xy’). Here is example.

    #10487

    Cameron
    Member

    When i drag one point then two symbols are coming “pan” and “reset”. I dont want this symbols.

    #10491

    Sanjoy
    Moderator

    Hi,

    If you don’t want to show the zoom/pan/reset tool-bar you can hide it using css

    .canvasjs-chart-toolbar {
      display: none !important;
    }

    Here is the example.

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

You must be logged in to reply to this topic.