Please try to follow our question asking guidelines when asking questions. It’s hard to understand what you want and what you have tried from the above question. Good questions get good answers 🙂
I can offer some suggestions:
- You can use Range.GrowBy() method
- You can set Range.Min
- You can set Range.Max
- You can set XAxis.VisibleRange = new DoubleRange(min, max) (or = new DateRate(min, max) depending on type of axis
- Sorry, I'm using the GrowBy Method but it only increase the MaxValue of Range
- On which axis type? (e.g. DateTimeAxis, NumericAxis, CategoryDateTimeAxis, Linear or Logarithmic)
- Thank you Daniel. It should work with NumericAxis. As you can see in this example, the Growby is applied to both minimum and maximum: https://www.scichart.com/Abt.Controls.SciChart.SL.ExampleTestPage.html#/Abt.Controls.SciChart.Example;component/Examples/IWantTo/CreateSimpleChart/LineChartExampleView.xaml Only if you have another thing preventing VisibleRange (e.g. VisibleRangeLimit, or manual setting of VisibleRange) should it prevent GrowBy from being applied. Are you using either of these?
- Thanks! Now i have the following problem: My Datarange is from 0-50 (Xaxis.DataRange). I want to show from 0-200 (VisibleRange) is binded via property. and Xaxis.GrowBy(0,4) ->0-200 If I press the scrollbar the VisibleRange is set back to 0-50.
- You must login to post comments
Please login first to submit.