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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Alignment of axis is not perfect

Thread ID:

Created:

Updated:

Platform:

Replies:

62667 Jun 20,2007 07:52 AM UTC Jun 22,2007 08:49 AM UTC WinForms 3
loading
Tags: Chart
Gourav Nayyar
Asked On June 20, 2007 07:52 AM UTC

Hi Rashid
i'm using Syncfusion Chart control V4.4 and i have a issue in proper alignment of axis. pl'z suggest us better way to align axis. Refer screenshot for clear understanding.

Thanks in Advance
Gourav

axis-alignment.zip

Rashidha F [Syncfusion]
Replied On June 20, 2007 12:26 PM UTC

Hi Gourav,

Thanks for your screen shots.

Please have a look at the attached sample.

http://websamples.syncfusion.com/samples/Chart.Windows/F61929_1/main.htm

The above sample show how to align the secondary Y-axes in chartControl.

Please let me know if this helps.

Regards,
Rashidha.

Gourav Nayyar
Replied On June 21, 2007 09:22 AM UTC

Hi rashid i got your sample but in my case the axis are dynamically generated and it changes after getting highest values . so in this case some times it allign proper but in some time it somes over chart area. pl'z suggest me according to this scenario.

Thanks in Advance
Gourav.

>Hi Gourav,

Thanks for your screen shots.

Please have a look at the attached sample.

http://websamples.syncfusion.com/samples/Chart.Windows/F61929_1/main.htm

The above sample show how to align the secondary Y-axes in chartControl.

Please let me know if this helps.

Regards,
Rashidha.

axis-alignment0.zip

Rashidha F [Syncfusion]
Replied On June 22, 2007 08:49 AM UTC

Hi Gourav,

Thanks for your screen shot.

If your intention is to align the axes means, please use the Axes Location property in chartControl.

The following code snippet which illustrates how to align the axes in chartcontrol.

axis1.LocationType = ChartAxisLocationType.Set;
axis1.Location = new PointF(this.chartControl1.PrimaryXAxis.Location.X, (this.chartControl1.ChartArea.RenderBounds.Bottom - this.chartControl1.ChartArea.RenderBounds.Height / 5));

Please have a look at the attached sample.

http://websamples.syncfusion.com/samples/Chart.Windows/F62667_2/main.htm

The above sample which illustrates how to align the axes in chartcontrol.

Please let me know if this helps.

Regards,
Rashidha.

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

;