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.

Dynamically setting size and position of a Windows Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

81018 May 7,2009 03:29 PM May 8,2009 02:24 AM Windows Forms 1
loading
Tags: Chart
Julie Newberry
Asked On May 7, 2009 03:29 PM

Is there a way to dynamically set the size of a chart and the position on the screen where the chart should be located?

Manimala S [Syncfusion]
Replied On May 8, 2009 02:24 AM

Hi Janewber,

We can set the location and size of the chart control dynamically. Here is the code to do that.

//Code

this.chartControl1.Location = new Point(166, 152);
this.chartControl1.Size = new Size(500, 500);

Kindly, let me know if it satisfies your requirement.

Thanks,
Manimala.

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.

;