SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
The GrowBy method accepts any number. It’s simply treated like a percentage, for instance, a GrowBy of (0.0, 5.0) means apply 0% padding below and 500% padding above the maximum of the VisibleRange.
Hope this helps,
What is wrong or where shall i search for the issue if:
Minimum x-Values are: 1: 0…100; 2:0…100 and 3:0:50
Scrollbar is bounded to xAxis.
If I change the VisibleRange of xAxis to 0…200
SciChart.XAxis.GrowBy = new DoubleRange((double)newRange..Diff / (double)SciChart.XAxis.DataRange.Diff / 2.0, (double)newRange..Diff/ (double)SciChart.XAxis.DataRange.Diff / 2.0);
-> Everything looks fine.
But next step I click on the scrollbar the VisibleRange is set back to random number:
Please login first to submit.