Home forums Using CanvasJS new viewport in zooming line chart

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  paparshoot 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23071

    paparshoot
    Member

    hi, i need the viewport minimum and maximum when line chart zoomed by the user, how can i find or calculate these amounts?
    when user manually zoom the line chart and select the scope, i need the start point and end point that selected by user?

    #23078

    shashiranjan
    Member

    @paparshoot,

    This can be achieved using rangeChanged event handler.

    Please take a look at this JSFiddle


    Shashi Ranjan
    Team CanvasJS

    #23107

    paparshoot
    Member

    deer Shashi Ranjan,
    Thanks you very much, it’s so useful.

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

You must be logged in to reply to this topic.