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 am creating the dynamic Numeric Y axis. Tthese are the attributes i am setting
axis.VisibleRange = new VisibleRange (0, 100) axis.AxisTitle = axisViewModel.Title; axis.AutoRange = AutoRange.Never axis.AxisAlignment = axisViewModel.AxisAlignment; axis.BorderBrush = axisViewModel.BorderBrush; axis.BorderThickness = axisViewModel.BorderThickness; axis.TextFormatting = axisViewModel.TextFormatting; axis.DrawMajorGridLines = axisViewModel.DrawMajorGridLines; axis.DrawMinorGridLines = axisViewModel.DrawMinorGridLines; axis.DrawMajorTicks = axisViewModel.DrawMajorTicks; axis.DrawMinorTicks = axisViewModel.DrawMinorTicks; axis.GrowBy = axisViewModel.GrowBy; (0.1, 0.1) axis.TickTextBrush = axisViewModel.TickTextBrush;
still it is auto ranging. Am I missing some attribute
AutoRange.Never means exactly that: never autorange. If you are setting a VisibleRange and setting AutoRange.Never, the YAxis will not autorange. Unless ….
Perhaps you can check your code again?
Please login first to submit.