Пример #1
0
        private Controls.DurationHistogram AddChart()
        {
            var chart = new Controls.DurationHistogram();

            this.ChartPane.RowDefinitions.Add(new RowDefinition());
            chart.SetValue(Grid.RowProperty, this.ChartPane.RowDefinitions.Count - 1);
            this.ChartPane.Children.Add(chart);
            return(chart);
        }
Пример #2
0
 private Controls.DurationHistogram AddChart()
 {
     var chart = new Controls.DurationHistogram();
     this.ChartPane.RowDefinitions.Add(new RowDefinition());
     chart.SetValue(Grid.RowProperty, this.ChartPane.RowDefinitions.Count - 1);
     this.ChartPane.Children.Add(chart);
     return chart;
 }