SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
I would like to make a chart where the Y axis starts at 0 and ends at 2000. The dataset I’ll populate it with has these min and max restrictions but if the data ranges from 100-1000, the chart always seems to autorange.
Here is what I’m trying:
<SciChart:NumericAxis AutoRange="False" DrawMinorTicks="False" DrawMinorGridLines="False" DrawMajorGridLines="False" >
<SciChart:DoubleRange Min="0" Max="1000"/>
But when I run it doesn’t seem to do anything. What am I missing?
In SciChart v2.0 the chart checks if any of the axes has invalid range (either null, or infinite) and if so, it autoranges that axis once, on startup.
In SciChart v3.0 this problem goes away, as there is a default VisibleRange applied to each axis, and if overridden by a user (e.g. setting your own VisibleRange), then the auto ranging once on startup is ignored.
There is a KB article here on the topic:
Please login first to submit.