I have medical data displaying every 1s with Date as XAxis and ml/hr as YAxis. I want to control the display to let say, 6hr window in the current display by default whereas zoom-in can go to precisely 1hr and not below that and zoom-out reset to 6hr. How can I achieve this?
FYI, my data retention is for 72hrs.
Is it also possible to change these settings runtime based on some widget event, let say, i want to change the max zoom constrain from 6hr -> 12hr. How will I update the graph view with this API refreshxAxis.setMaximumZoomConstrain(DateIntervalUtil.fromHours(12)) ?
Have you tried to set VisibleRange for your xAxis? This should give you direct control over what should be displayed by chart. If you want to restrict zoom with modifiers you can use our Minimal/MaximumZoomConstrain:
Is this suitable for your needs?
Please login first to submit.