Pre loader

Chart with Logarithmic XAxis don't look good

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

Hi,

I have a chart with logarithmic X axis. When I draw the chart, the series is presented with “spikes” that don’t exist in the data.
If I enlarge the window and the chart, the series is “fixed”.

Please see the attached files. LogChart_wide window.png shows the chart correctly.

Also attached a text file with the raw data.

Any idea how to fix this?

Version
4
Attachments
Images
  • Patrik Adolfsson
    Just to add that as of v6.4 there is still a major problem with displaying log plots, but luckily as I just discovered resampling set to None does work. I do think that anyone with log data should think about a difference plot package as there are countless errors in relation to log. If you point it out, they dutifully explains that in the manual it states that log might not work and so does nothing to correct the issues.
  • You must to post comments
0
0

Hi Smadar,

Thanks for your question. I think this happens because of data resampling. SciChart makes predictions about data distribution and to reduce amount of things to render, but this doesn’t work with the LogarithmicAxis (because of data scaling).

This can be fixed quite easily, setting the ResamplingMode property on a RenderableSeries to “None”. You can find more info about existing resampling modes in the documentation. Please try this and let us know if it helps.

Also, just FYI, we have this issue logged and it is going to be fixed in one of future releases.

Best regards,
Yuriy

  • Andrew Burnett-Thompson
    I should also add – it is on our roadmap for SciChart v5 to incorporate Logarithmic XAxis scaling into resampling algorithms
  • You must to post comments
0
0

Thanks! That helped alot

  • You must to post comments
Showing 2 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