Home › forums › Using CanvasJS › click and drag on area graph
Tagged: #area #line #listener
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 2 months, 1 week ago.
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.
You must be logged in to reply to this topic.