public SignalEventCountAggregationOptions(SignalAggregationMetricOptions options)
 {
     MetricTypeID        = 27;
     AggregatedDataTypes = new List <AggregatedDataType>();
     AggregatedDataTypes.Add(new AggregatedDataType {
         Id = 0, DataName = "EventCount"
     });
     CopySignalAggregationBaseValues(options);
     this.Y2AxisTitle = "Event Count";
 }
 public void CopySignalAggregationBaseValues(SignalAggregationMetricOptions options)
 {
     this.TimeOptions                = options.TimeOptions;
     this.FilterDirections           = options.FilterDirections;
     this.FilterMovements            = options.FilterMovements;
     this.FilterSignals              = options.FilterSignals;
     this.EndDate                    = options.EndDate;
     this.StartDate                  = options.StartDate;
     this.SelectedAggregatedDataType = AggregatedDataTypes[0];
     this.SelectedAggregationType    = options.SelectedAggregationType;
     this.SelectedChartType          = options.SelectedChartType;
     this.SelectedDimension          = options.SelectedDimension;
     this.SelectedSeries             = options.SelectedSeries;
     this.SelectedXAxisType          = options.SelectedXAxisType;
     this.SeriesWidth                = options.SeriesWidth;
     this.ShowEventCount             = options.ShowEventCount;
 }