public PlottablePopulations(PopulationSeries populationSeries, string label = null, System.Drawing.Color?color = null) { if (color is null) { color = System.Drawing.Color.LightGray; } popMultiSeries = new PopulationMultiSeries(new PopulationSeries[] { populationSeries }); }
public PlottablePopulations(Population[] populations, string label = null, System.Drawing.Color?color = null) { if (color is null) { color = System.Drawing.Color.LightGray; } var ps = new PopulationSeries(populations, label, color.Value); popMultiSeries = new PopulationMultiSeries(new PopulationSeries[] { ps }); }