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.
Up arrow icon