SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
I have DateAxis as X Axis, so I want to trigger a button to zoom In/Out to a specific time at the latest plotted point (Price).
Example: I have zoom button 30 minutes, 15 minutes, 5 minutes and 2 minutes….
This should be quite simple. All you need to do is set
DateTime dateMin; DateTime dateMax; DateTimeAxis.VisibleRange = new DateRange(dateMin, dateMax);
You need to calculate the dateMin and dateMax in your button click event handler.
Please login first to submit.