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 2 years, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 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.

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

You must be logged in to reply to this topic.