A chart element with the name 'Default' could not be found in the 'ChartAreaCollection'.
Reason for the issue: It indicates that, the element default is not initilized as ChartAreaCollection.
To resolve this problem, we need to create it.
chartl.ChartAreaCollection.Add("Default");
The above line will resolve the problem.
Cheers,
Venkatesan Prabu .J
Head, www.kaashivinfotech.com

Join the conversation! Your thoughts help the community grow.