public void CreateAllCharts(SignalAggregationMetricOptions options) { options.SelectedChartType = SeriesChartType.Column; options.SelectedAggregationType = AggregationType.Sum; options.CreateMetric(); options.SelectedAggregationType = AggregationType.Average; options.CreateMetric(); options.SelectedChartType = SeriesChartType.Line; options.SelectedAggregationType = AggregationType.Sum; options.CreateMetric(); options.SelectedAggregationType = AggregationType.Average; options.CreateMetric(); options.SelectedChartType = SeriesChartType.Pie; options.SelectedAggregationType = AggregationType.Sum; options.CreateMetric(); options.SelectedAggregationType = AggregationType.Average; options.CreateMetric(); options.SelectedChartType = SeriesChartType.StackedColumn; options.SelectedAggregationType = AggregationType.Sum; options.CreateMetric(); options.SelectedAggregationType = AggregationType.Average; options.CreateMetric(); options.SelectedChartType = SeriesChartType.StackedArea; options.SelectedAggregationType = AggregationType.Sum; options.CreateMetric(); options.SelectedAggregationType = AggregationType.Average; options.CreateMetric(); }
protected void CreateStackedColumnChart(SignalAggregationMetricOptions options) { try { options.SelectedChartType = SeriesChartType.StackedColumn; options.SelectedAggregationType = AggregationType.Sum; options.CreateMetric(); //options.SelectedAggregationType = AggregationType.Average; //options.CreateMetric(); } catch (Exception e) { Console.WriteLine(e); throw; } }