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 Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

97361 Nov 20,2010 04:38 AM Nov 29,2010 11:28 PM Windows Forms 3
loading
Tags: Chart
Domenico Mozzone
Asked On November 20, 2010 04:38 AM

Dear Support Team,
I'm using version 8.304.0.21.

I need to draw N indipendent line charts in a single form. Each Chart has the same X data, but multiple Y

For what I know about Syncfusion ChartControl only one ChartArea can be hosted for each ChartControl instance.
A ChartArea can host multiple Series, but it is not what I have to do.

So I tried ho insert ChartControls in a TableLayout component, but with this solution some I have problems to implement printing functions (preview and print) for the whole set of Chart.

Have you any suggestion?

Thank you very much
Best regards
Domenico Mozzone
Setteidea srl


Subash Chandran M [Syncfusion]
Replied On November 23, 2010 02:21 AM

Hi Domenico,

Thank you for using Syncfusion Products.

We suggest you to use “Chart secondary axes” to implement your behavior. Create a secondary axis ‘sa1’ and set the orientation to vertical. You can use the opposed position to render series in opposite to implied position. Add the secondary axes to the chart control. Use the implied primary X axis and set the Yaxis of the chart series to secondary axis ‘sa1’ which is created.

Here is a code snippet to illustrate this :
[C#]
Syncfusion.Windows.Forms.Chart.ChartAxis sa1 = new ChartAxis();
sa1.Orientation = ChartOrientation.Vertical;
sa1.OpposedPosition = true;
mycc.Axes.Add(sa1);
// setting the Yaxis of chartseries1 to secondaryaxis1
cs1.YAxis = sa1;

A sample to meet your requirement is uploaded.

Please let me know if it helps.

Regards,
Subash Chandran M





Forum97361_48f683fc.zip

Domenico Mozzone
Replied On November 26, 2010 04:18 AM

Thank you very much for your suggestion and example.
I'll check your idea with the final user.

Best Regards
Domenico


Subash Chandran M [Syncfusion]
Replied On November 29, 2010 11:28 PM


Hi Domenico,

Thanks for the update.

Please do let us know if you have any other concerns and we will be happy to assist you.

Regards,
Subash Chandran M



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.

;