SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

Hello Andrew,

when zooming a graph only 1 series is rendered (in this case). I have added a simple project that you can easily test. The values are loaded from xml files to simplify. I know it depends on the values but cant really understand what happens.
I had this issue before and waited for the new version to see if it solved. The behavior is exactly the same.

Thank you very much for your support

Marcel

Attachments
  • You must to post comments
0
0

Hello Marcel,

I found out what caused that issue. Are you aware that SciChart supports only sorted data for X values (because of performance reasons). So you need just sort your data:

            speedVsDistance.Append(data1.XData, data1.YData);

            var list = new List<double>(data2.XData);
            list.Sort();

            acceleration.Append(list, data2.YData);

For more info you could take a look at HitTest on XyScatterRenderable Series and Fix data values that arrive in a non sorted date time order articles.

Note soon we will be investigating auto-sorting of data internally as this has been requested by a few customers.

Hope this helps!

Best regards,
Yuriy

  • Marcel
    Thank you very much for your fast answer. In fact the array is correctly ordered but because I use the invertedAxis property that array should be inverted as well. Didnt know about the sort requirement, but it renders anyway with zoom extends.Best regards, Marcel
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.