How can I extends the Xaxis by the minValue;
Now I can only extents the Xaxis by the Maximum Value.
100-1000-> 100-1100
I want:
100-1000 -> 0-1000
Thanks, Daniel 🙂
- Daniel Hartl asked 8 years ago
- You must login to post comments
Hi Daniel,
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
Best regards,
Andrew
- Andrew Burnett-Thompson answered 8 years ago
- 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)
- NumericAxis
- 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.