Hello.
I want to get a polar chart with 360 degree on x-scale with a constant tick step. I found how to do it with MajorDelta. My code is:
<s:SciChartSurface.XAxis>
<s:PolarXAxis Name="xAxis"
AxisTitle="Polar Chart"
BorderBrush="#93A3C5"
RotationAngle="90"
AutoTicks="False"
MajorDelta="30"
MinorDelta="10"
BorderThickness="0,2,0,0"
TitleFontSize="20"
VisibleRange="0,360"/>
</s:SciChartSurface.XAxis>
And I got a 30-degree step of major ticks. But tick labels were lost. It is only on 0 and 240. I get all labels when I add some data in series and call sciChart.ZoomExtents() as in basic example. But initially, I don’t have any data to show. Moreover, I’m using MVVM and I need to control VisibleRange of Y axis, so ZoomExtents is unlikely.
The second issue with the polar chart – how to control VisibleRange of Y-axis? My code is:
<s:PolarYAxis Name="yAxis"
AutoRange="Never"
VisibleRange="{Binding YVisibleRange}"
/>
</s:SciChartSurface.YAxis>
But it is not working. I tried to bind Axes instead of VisibleRange only, but I got the same result. Any suggestions?
Thanks
- You must login to post comments
Please login first to submit.