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.

Multiple Axis Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

64019 Jul 12,2007 02:58 PM Jul 17,2007 12:40 AM Windows Forms 5
loading
Tags: Chart
Navaneeth Rajkumar
Asked On July 12, 2007 02:58 PM

Hi,
Please find attached a sample app.. Here I am trying to create a chart with 2 Y axis and common X Axis.

I want series 1&2 use the 1st Y axis and series 3 to use 2nd Y axis.. But I am not able to create this secondary Y axis.. Please have a look at this sample app and tell me what I am doing wrong..

Thanks
Navaneeth

Syncfusion_Charts0.zip

Rashidha F [Syncfusion]
Replied On July 13, 2007 03:08 AM

Hi Navaneeth ,

Thanks for using Syncfusion Products.

If your intention is to create a multiple Y-Axis feature means, please set secondary axes orientation property to Vertical in your application.

The following code snippet which illustrates how to set the orientation of the secondary Axes.

secXAxis.Orientation = ChartOrientation.Vertical;

I have modified your sample. Please refer the attached sample.

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

Please let me know if this helps.

Thanks and Regards,
Rashidha.

Navaneeth Rajkumar
Replied On July 13, 2007 10:18 AM

Rashidha,
Thanks for your reply. In your example, the Sec Y axis is stacked over the primary Y Axis.. But I want the primary Y axis start from the X Axis min and the secondary Y Axis to start from the X axis Max.

Thanks

Rashidha F [Syncfusion]
Replied On July 15, 2007 11:54 PM

Hi Navaneeth,

Thanks for the update.

You can achieve your requirements using Opposed position and YAxesLayoutMode properties in ChartControl.

The following code snippet which illustrates how to arrange the Sexondary Y-Axis in chartControl.

this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.Stacking;
secXAxis.OpposedPosition = true;

Please refer the attached sample.

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

Please let me know if this helps.

Thanks and Regards,
Rashidha.

Navaneeth Rajkumar
Replied On July 16, 2007 10:00 AM

Looks like you are using 5.1 to achieve this.. but I am still using 4.4. Is there a way I can get this feature working in 4.4?

Thanks
Navaneeth

Rashidha F [Syncfusion]
Replied On July 17, 2007 12:40 AM

Hi Navaneeth,

Thanks for the update.

I have modified the sample using 4.4 Syncfusion chart version.

Please refer the attached sample.

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

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.

;