3 writes to ShowRunningTotal
Aspire.Dashboard (2)
Components\Controls\Chart\ChartContainer.razor.cs (2)
239_instrumentViewModel.ShowRunningTotal = showRunningTotal; 269_instrumentViewModel.ShowRunningTotal = ShowRunningTotal;
Aspire.Dashboard.Components.Tests (1)
Controls\PlotlyChartTests.cs (1)
205var model = new InstrumentViewModel { ShowRunningTotal = showRunningTotal };
6 references to ShowRunningTotal
Aspire.Dashboard (5)
Components\Controls\Chart\ChartBase.cs (3)
123_renderedShowRunningTotal != InstrumentViewModel.ShowRunningTotal) 133_renderedShowRunningTotal = InstrumentViewModel.ShowRunningTotal; 202var showChangePerInterval = ChartDataCalculator.IsMonotonicCounter(InstrumentViewModel.Instrument) && !InstrumentViewModel.ShowRunningTotal;
Components\Controls\Chart\ChartContainer.razor.cs (2)
233if (_instrumentViewModel.ShowRunningTotal == showRunningTotal) 267if (_instrumentViewModel.ShowRunningTotal != ShowRunningTotal)
Aspire.Dashboard.Components.Tests (1)
Pages\MetricsTests.cs (1)
686Assert.Equal(!showOption, cut.FindComponent<MetricTable>().Instance.InstrumentViewModel.ShowRunningTotal);