We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Does a multiple series chart group (move) data points to common?closest? x coordinates?

Thread ID:





127811 Dec 9,2016 07:59 PM UTC Dec 13,2016 12:51 PM UTC WPF 2
Tags: SfChart
Alan L
Asked On December 9, 2016 07:59 PM UTC

I've been wrestling with what I'm seeing in multiple series charts.  It seems like the first series defines the x axis coordinates to be used in plotting all subsequent series.
Trying many chart formats, they all seem to behave the same.

In the chart below you can see only the 1st Series time was used as x axis coordinates.
1st Series(blue)          2nd Series(brown)
12:00:00, 1000            12:00:00, 1000.0
12:00:04, 999.93         12:00:01, 999.65
12:00:08, 1000.44       12:00:02, 999.36
12:00:11, 1000.43       12:00:03, 999.45
12:00:14, 999.97         12:00:08, 998.89
12:00:17, 999.77         12:00:11, 998.89
12:00:20, 999.94         12:00:16, 999.77
12:00:24, 1000.60       12:00:17, 1000.18
12:00:29, 1001.03       12:00:21, 999.43
12:00:31, 1001.12       12:00:22, 999.63

This may be connected to a separate thread where a SfDateTimeRangeNavigator does not seem to align axis with the underlying chart.

Alan L
Replied On December 12, 2016 02:49 PM UTC

Would using CategoryAxis be the root of my problem?
It seems like switching the primary axis to NumericalAxis is behaving as expected.

Sheik Syed Abthaheer M [Syncfusion]
Replied On December 13, 2016 12:51 PM UTC

Hi Alan, 
Thanks for your update. 
We would like to inform you that, CategoryAxis is an index based axis and so the scaling of axis depends on datapoint index. That is, the first point of each series will be plotted on first value (index) of x axis.  So the x-axis labels are generated from the series with maximum datapoint (segment) count, to include all the series’s datapoints into the plot area. 
As you mentioned, by using the LinearAxis such as NumericalAxis, DateTimeAxis, the reported problem can be resolved. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon