11 references to ChartExemplar
Aspire.Dashboard (11)
Components\Controls\Chart\MetricTable.razor.cs (3)
21private List<ChartExemplar> _exemplars = []; 39protected override async Task OnChartUpdatedAsync(List<ChartTrace> traces, List<DateTimeOffset> xValues, List<ChartExemplar> exemplars, bool tickUpdate, DateTimeOffset inProgressDataTime, CancellationToken cancellationToken) 112private SortedList<DateTimeOffset, MetricViewBase> UpdateMetrics(out ISet<DateTimeOffset> addedXValues, List<ChartTrace> traces, List<DateTimeOffset> xValues, List<ChartExemplar> exemplars)
Components\Controls\Chart\PlotlyChart.razor.cs (5)
55protected override async Task OnChartUpdatedAsync(List<ChartTrace> traces, List<DateTimeOffset> xValues, List<ChartExemplar> exemplars, bool tickUpdate, DateTimeOffset inProgressDataTime, CancellationToken cancellationToken) 107private PlotlyTrace CalculateExemplarsTrace(List<DateTimeOffset> xValues, List<ChartExemplar> exemplars) 117var exemplarGroups = new Dictionary<ExemplarGroupKey, List<ChartExemplar>>(); 131var sampledList = new List<ChartExemplar>(MaxExemplarsPerTick); 154foreach (var exemplar in exemplarGroups.SelectMany(g => g.Value))
Components\Dialogs\ExemplarsDialog.razor.cs (3)
33public IQueryable<ChartExemplar> MetricView => Content.Exemplars.AsQueryable(); 37public async Task OnViewDetailsAsync(ChartExemplar exemplar) 54private string GetTitle(ChartExemplar exemplar)