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