Pre loader

Deformed graph when visible range is changed (extended)

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

Answered
0
0

Hi,

I’m having difficulties understanding the behaviour of a graph with the following axes:

<s:SciChartSurface.XAxis>
                            <s:LogarithmicNumericAxis DrawMajorBands="False"   
                                                      LogarithmicBase="10"
                                                      VisibleRange="0.01,5" 
                                                      DrawMinorGridLines="False"
                                                      DrawMajorGridLines="False">
                            </s:LogarithmicNumericAxis>
                        </s:SciChartSurface.XAxis>


                        <s:SciChartSurface.YAxis>
                            <s:NumericAxis  DrawMinorGridLines="False" 
                                            DrawMajorGridLines="False" 
                                            AxisAlignment="Left"
                                            VisibleRange="{Binding FftDroiteGaucheYAxisRange, UpdateSourceTrigger=PropertyChanged}"/>
                        </s:SciChartSurface.YAxis>

With XAxis VisibleRange set to “0.01,5” the graph looks like this:
enter image description here

When I change it to a bigger range say “0.01,11” or more FOR THE SAME DATA it gets deformed and looks like:
enter image description here

I tried removing VisibleRange in YAXis but it doesn’t seem to work. Please help.

Images
  • You must to post comments
Best Answer
0
0

Hi Kilosa,

For graphs with XAxis Type = LogarithmicNumericAxis, you need to set ResamplingMode.None on the FastLineRenderableSeries. This is because the X-Data spacing is determined by the axis, not the data, so it is difficult to accurately predict data distribution and choose the correct resampling algorithm.

This is a case we should detect automatically with ResamplingMode.Auto so I will file a bug report at the same time.

Let me know if this helps,

Best regards,
Andrew

  • Kilosa Magali
    Worked perfectly, Thanks Andrew.
  • Andrew Burnett-Thompson
    you’re very welcome! If there’s anything else we can do to help, just let me know. Best regards,
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.