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

Lining up charts

Thread ID:





82116 Jun 2,2009 06:56 PM UTC Jun 8,2009 09:29 AM UTC WinForms 3
Tags: Chart
Peggy Giegucz
Asked On June 2, 2009 06:56 PM UTC

I have several charts on a table layout panel that is 1 column by N-rows.

The Y axis of one chart may go from 0-9. The next chart's Y-axis 0-20000.

I need the Y axes of all the charts to line up since the X-axes all represent the same time period.

I can set the ChartAxis.Format to be 00000.00 and they'll line up, but 00100.00 looks bad. #####.00 doesn't seem to help.

I've tried changing PrimaryYAxis.Rectangle as well, but that didn't help either.

Manimala S [Syncfusion]
Replied On June 3, 2009 01:35 PM UTC

Hi Peggy,

To avoid 00100.00 format, just check a condition before assigning the fomat. That is if the value is <100 then assign format as ##.00 and if it is greater than 100 and less than 2000 assign as ###.00. This will align the axis in the same line as well as it will change the format 00100.00.

Kindly, let me know if it helps.


Peggy Giegucz
Replied On June 3, 2009 01:54 PM UTC

OK, but that doesn't fix my bigger problem.

I need to vertically line up multiple charts that have a variety of scales. When they are on the screen, I need the Y-axes to line up.

I've posted an image at http://www.montrosehillsystems.com/plot.jpg that shows the problem.

Manimala S [Syncfusion]
Replied On June 8, 2009 09:29 AM UTC

Hi Peggy,

Thanks for using Essential Chart.

The aligning of the Y-Axis depends on the ChartAreaMargins property of the axis. But in version ChartAreaMargins property is read only and hence we cannot assign values to that at run time. But in latest version it works fine.

I have created a sample in version to demonstrate this.

Kindly, get the sample from the following location.

Sample File

Kindly, upgrade to the latest version from the following link:


Unlock key:

If your Essential Studio license is valid, you will be able to obtain the key to install this version from your Direct-Trac account. For more help on unlock key kindly, contact your Syncfusion Sales Representative or e-mail salessupport@syncfusion.com.

Kindly, let me know if you have any other queries.



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