Home forums Chart Support Drag and Drop line chart points for redraw

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

    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?



    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.


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


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


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



    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.


    I want to achieve the same in React, Is it possible? Please guide me by throwing samples. Thank you.



    Please take a look at this Sample Project.

    Considering this as duplicate of React CanvasJS: Drag Data Points and closing the thread.

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.