Pre loader

Polar chart. Major tick labels are lost

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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

Version
5.4.1
Images
  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies