Home forums Using CanvasJS Drag external point inside curve charts

This topic contains 5 replies, has 2 voices, and was last updated by  earn01 3 months, 3 weeks ago.

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

    earn01
    Member

    Hello,

    i’m looking for a solution that allow to have a ‘standard’ curve chart like green curve that you can see on image link.
    Outside chart i would like to have different round object the are some categories like D,E,G,H, i would like to know if is possibile to drag category like “D”,”E” ecc. and drop inside a point over curve charts, like F.

    Some could you help me ?

    chart example
    chart example
    Many thanks
    Best Regards

    • This topic was modified 3 months, 4 weeks ago by  earn01.
    #21890

    earn01
    Member

    Image example

    • This reply was modified 3 months, 4 weeks ago by  earn01.
    #21894

    Vishwas R
    Keymaster

    @earn01,

    Please take a look at this jsfiddle where you can click on any element listed to the left side of the chart and the marker and indexLabels gets added to that specific dataPoint.


    Vishwas R
    Team CanvasJS

    #21895

    earn01
    Member

    Hello,
    this is really very useful, thank you very much.

    if I want to move the point inside the chart shoud i use draggable function ? is the drag of a point supported?

    can I also keep more points like D, F, G at the same time?

    Many thanks

    #21906

    Vishwas R
    Keymaster

    @earn01,

    if I want to move the point inside the chart shoud i use draggable function ? is the drag of a point supported?

    You can overlay custom DOM on top of chart, please refer Chart with Image Overlay for an example on the same.

    Dragging and updating the dataPoint is possible in CanvasJS. Please refer ‘Interactivity Example’ in Features section of our homepage for the same. Also please take a look at an example in out gallery on Draggable Column Chart.

    can I also keep more points like D, F, G at the same time?

    Yes, you can have as many dataPoints and legends as you want.


    Vishwas R
    Team CanvasJS

    #21928

    earn01
    Member

    many thanks!

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

You must be logged in to reply to this topic.