I have graph and I want to get min/max values every time I zoom or drag it, i.e. in visible area, how can I do that?