almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

[graph2d] Get y-axis range #2548

Open dalzell99 opened 7 years ago

dalzell99 commented 7 years ago

Hello, is it possible to get the y-axis range for a graph? If not, I would like to request it please be added. I think the ideal place for it would be in the graph2d.getWindow() function. Thanks

dalzell99 commented 7 years ago

I found the y-axis range under graph2d.linegraph.(yAxisLeft || yAxisRight).scale.(_end || _start)

I would like this to be put forward as a feature request to simplify get the range in the future