public async void CreateNormalizedPlotModel() { this.ProgressBarVisibility = Visibility.Visible; this.PlotModel = null; this.TimeHistogramData = new List <SemanticHistogramDatum>(); await Task.Run(() => { foreach (SemanticGraph graph in this.SemanticGraphs) { this.TimeHistogramData.Add(SemanticHistogramDatum.GetDistanceNormalizedTimeInstance(graph.SemanticLink, this.TripDirection)); } }); CurrentGraphType = GraphType.Normalized; CreateNumberModel(); }
private void setDistanceNormalizedHistogramData() { this.EnergyHistogramDatumFirst = SemanticHistogramDatum.GetDistanceNormalizedTimeInstance(this.SelectedSemanticLinks[0], this.TripDirection); this.EnergyHistogramDatumSecond = SemanticHistogramDatum.GetDistanceNormalizedTimeInstance(this.SelectedSemanticLinks[1], this.TripDirection); }