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