SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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 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.


I am trying to implement a peak detection functionality in wpf. I have a DateTime axis as X and double as Y. When I add the second series (containing the peaks) to the chart it renders the points by their index, not by their date. (picture second chart red dots)

Is there any way I can plot two series with different sampling in a way that the sample points are aligned according to their dateTime values?

I attached some of my codes below.

  • You must to post comments
Best Answer

Hi Kristof,

Yes there is! You need to use the DateTimeAxis, not CategoryDateTimeAxis.

Please see this article showing the difference between a category + a value axis

Let me know if this helps!

Best regards,

  • You must to post comments

Hi Andrew!

I am using Multipane charts similar to the example, and SciStockChart.
When I replace CategoryDateTimeAxis with DateTimeAxis I get an XamlParesException saying DateTimeAxis TargetType does not comply with CategoryDateTimeAxis element type.

Can I use SciStockChart with DateTimeAxis? If not, is there another alternative to it.

Best Regards,

  • You must to post comments

Thank you for your help!

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.