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

How to align ChartCartesianAreaGrid when using multiple Y-axis

Thread ID:

Created:

Updated:

Platform:

Replies:

95238 Jun 28,2010 12:46 PM UTC Jun 30,2010 08:49 AM UTC WPF 1
loading
Tags: Chart
Morten Schou
Asked On June 28, 2010 12:46 PM UTC

We have an application where we are displaying two - or more - charts below each other.

For this application, it is crusial that the timeline X-axis for the charts are aligned for the user to be able to relate data from one chart to the other. This works just fine when using single Y-axis but when using multiple Y-axis it becomes a problem - see attachment - both because of annotation lengths and varying number of series in the individual charts.

Is there a way to control internal layout of the chart to align the grids - maybe something like the WPF Grid's SharedSizeGroup functionlity?



ChartAreaGridMisalign_9be3b4ab.zip

Sujitha S [Syncfusion]
Replied On June 30, 2010 08:49 AM UTC

Hi Morten,

Thanks for choosing Syncfusion product.

We can achieve your requirement by assigning the ChartCartesianAreaGrid margin of the 1st area to the ItemsControl margin of the 2nd area.

I have added the sample for your verification.

Let me know, If you have any queries.

Thanks,
Sujitha S



GridControl_ca89f2f8.zip

CONFIRMATION

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.

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

;