private void DrawChart(List <string[]> csvContent) { Dictionary <DateTime, double> csvDictionary = CsvConverter.ConvertToDictionary(csvContent); Predictions.Clear(); DiagrammPainter.UpdateSeries(csvDictionary); }