public static PlotModel CreateChart( this StatisticsCollection statisticalQuantities, string chartName, ChartType chartType = ChartType.Line) { var data = CreateDataPointCollection(statisticalQuantities); return(PlottingUtil.CreatePlotModel(data, chartName, chartType)); }