Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 4
0
        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);
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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);
        }