Exemplo n.º 1
0
        private void DurationOfTemperatureModesChart(Chart chart)
        {
            ChartController.Clear(chart);
            string temperatureSeries = "t, год";

            ChartController.AddSeries(chart, temperatureSeries, SeriesChartType.Column, Color.Orange);
            _weatherController.DurationOfTemperatureModes(_weathers, out var temperatures, out var temperatureDurations);
            ChartController.Fill(chart, temperatureSeries, temperatures, temperatureDurations);
            ChartController.AxisTitles(chart, "T, °C", "t, год");
        }