Series GetSeriesByName(Chart chart, string name)
 {
     if (!chart.InvokeRequired) return chart.Series.FindByName(name);
     return (Series)chart.EndInvoke(chart.BeginInvoke(new Delegates.SeriesResultChartStringParams(GetSeriesByName), chart, name));
 }