Home forums Using CanvasJS click and drag on area graph

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 2 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #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.

    #25094

    @trieucrew,

    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.