Hi! I have problems with visible range managing of a polar plot
The code in xaml:
<s:SciChartSurface graphModule:PlotLengthHelper.PlotLength="{Binding PlotLength, Mode=OneWayToSource, UpdateSourceTrigger=PropertyChanged}"
x:Name="ChartSurface"
SizeChanged="ChartSurface_OnSizeChanged"
ChartTitle="{Binding ChartTitle}"
s:ThemeManager.Theme="BrightSpark"
Annotations="{s:AnnotationsBinding Annotations}"
RenderableSeries="{s:SeriesBinding Series}"
XAxes="{s:AxesBinding XAxes}"
YAxes="{s:AxesBinding YAxes}"
First example. The code of the axis:
var yAxis = new PolarYAxisViewModel {AutoRange = AutoRange.Never};
YAxes.Add(yAxis);
Changing the VisibleRange of the axis has no any effect on the visible range of the graph. It sets automatically in the very first time and remains the same.
Second example.
var yAxis = new PolarYAxisViewModel {AutoRange = AutoRange.Always};
YAxes.Add(yAxis);
Changing the data (using line series) again has no any effect on the visible range of the graph. Again, it sets automatically in the very first time and remains the same.
Any suggestion on how to fix it? Especially the first case is required. Thanks.
- Alexander Erkabaev asked 5 years ago
- last active 5 years ago