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.
Unfortunately, activation email could not send to your email. Please try again.

Alignment of axis is not perfect

Thread ID:

Created:

Updated:

Platform:

Replies:

62667 Jun 20,2007 03:52 AM Jun 22,2007 04:49 AM Windows Forms 3
loading
Tags: Chart
Gourav Nayyar
Asked On June 20, 2007 03:52 AM

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 08:26 AM

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 05:22 AM

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 04:49 AM

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.

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.

;