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. Image for the cookie policy date
close icon

Refreshing a chart

Hello, This is probably a dumb question, but here goes. Can I do what I have below? I am creating a chart in a function and then passing it back. private void button1_Click(object sender, System.EventArgs e) { chartControl1=GetChart(); chartControl1.Refresh(); } private ChartControl GetChart() { ChartControl c=new ChartControl(); c.Text="TEST"; return c; } Hopefully that makes sense. Thanks for any help, I really appreciate it. Thanks, Nick

1 Reply

DJ Davis Jebaraj Syncfusion Team October 4, 2005 10:41 PM UTC

Hi Nick, You can certainly create a ChartControl object and pass the reference to the calling method. We can provide more information if you give us some information about what you are trying to do. Thanks, Davis

Loader.
Live Chat Icon For mobile
Up arrow icon