protected override void OnInit(EventArgs e)
{
base.OnInit(e);
if(IsDesignMode)
return;
foreach(LineChartSeries lineChartSeries in Series) {
if(String.IsNullOrWhiteSpace(lineChartSeries.Name))
throw new Exception("Name is missing in the LineChartSeries. Please provide a name in the LineChartSeries.");
}
}