コード例 #1
0
        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 });
        }
コード例 #2
0
        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 });
        }