Home forums Chart Support click and drag on area graph

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #25073

    Is there a react way to click a point on an area graph, get the x value and y value at that point, hold the mouse button down and highlight the area under the curve til you release the mouse or on a mouseUp event??
    TLDR: looking for a react way to implement the listners onMouseUp and onMouseDown on a line area graph.



    Sorry, highlighting the the filled area on selection is not possible as of now. However with the help of stripLines, you can highlight the entire section as shown in this sample project.

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.