Dynamically adjust y-min/max after range-selector in Dygraph -


when range selector used shrink/expand viewing x-range, y axis remains unchanged. there way update these values based on current min/max?

i know there way update settings, problem don't know how capture current min/max on range selector. have set function gets called on draw() callback thing i'm missing how calculate current range min/max values.

it sounds want call yaxisrange method:

yaxisrange(idx)

returns currently-visible y-range axis. can affected zooming, panning or call updateoptions. axis indices zero-based. if called no arguments, returns range of first axis. returns two-element array: [bottom, top].


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -