public virtual void SetTimeXAxisRouteSeriesForEventCount(List <Models.Signal> signals, Chart chart)
        {
            var    eventCountOptions = new SignalEventCountAggregationOptions(this);
            Series series            = eventCountOptions.GetTimeXAxisRouteSeries(signals);

            chart.Series.Add(SetEventCountSeries(series));
        }
示例#2
0
        public override void SetSignalsXAxisSignalSeriesForEventCount(List <Models.Signal> signals, Chart chart)
        {
            var    eventCountOptions = new SignalEventCountAggregationOptions(this);
            Series series            = eventCountOptions.GetSignalsXAxisSignalSeries(signals, "Event Count");

            chart.Series.Add(SetEventCountSeries(series));
        }
示例#3
0
        public virtual void SetTimeXAxisSignalSeriesForEventCount(Chart chart, Models.Signal signal)
        {
            var    eventCountOptions = new SignalEventCountAggregationOptions(this);
            Series series            = eventCountOptions.GetTimeXAxisSignalSeries(signal);

            chart.Series.Add(SetEventCountSeries(series));
        }
        public virtual void SetTimeOfDayAxisRouteSeriesForEventCount(List <Models.Signal> signals, Chart chart)
        {
            var    eventCountOptions   = new SignalEventCountAggregationOptions(this);
            Series eventCountSeries    = CreateEventCountSeries();
            var    eventBinsContainers = eventCountOptions.GetBinsContainersByRoute(signals);

            eventCountOptions.SetTimeAggregateSeries(eventCountSeries, eventBinsContainers);
            chart.Series.Add(eventCountSeries);
        }
示例#5
0
        public virtual void SetApproachXAxisSignalSeriesForEventCount(Chart chart, Models.Signal signal)
        {
            var    eventCountOptions = new SignalEventCountAggregationOptions(this);
            Series series            = eventCountOptions.GetSignalsXAxisSignalSeries(new List <Models.Signal> {
                signal
            }, signal.SignalDescription);

            chart.Series.Add(SetEventCountSeries(series));
        }
示例#6
0
        private void SetTimeofDayAxisSignalSeriesForEventCount(Models.Signal signal, Chart chart)
        {
            var eventCountOptions = new  SignalEventCountAggregationOptions(this);
            var binsContainers    = eventCountOptions.GetBinsContainersByRoute(new List <Models.Signal> {
                signal
            });
            Series series = CreateEventCountSeries();

            eventCountOptions.SetTimeAggregateSeries(series, binsContainers);
            chart.Series.Add(series);
        }