d470f435d3
- valutare implementazione OnParametersSetAsync() globale - testare comportamento altri componenti
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
@using MP.MONO.UI.Components
|
|
@using MP.MONO.Core.DTO
|
|
@using MP.MONO.UI.Data
|
|
@using Microsoft.Extensions.Configuration;
|
|
|
|
@inject IConfiguration Configuration;
|
|
|
|
@inject CurrentDataService MMDataService
|
|
|
|
@if (!string.IsNullOrEmpty(@SelectedParam))
|
|
{
|
|
<div class="d-flex justify-content-between mb-2">
|
|
<div class="px-1 border border-success rounded">
|
|
<i class="fa-solid fa-calendar-days"></i> <b>@SelectedParam</b>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex">
|
|
<div class="px-1 flex-fill">
|
|
@if (isLoading)
|
|
@*@if (isLoading || LevelVal == null || LevelVal.Count == 0)*@
|
|
{
|
|
<LoadingDataSmall></LoadingDataSmall>
|
|
}
|
|
else
|
|
{
|
|
<MP.MONO.UI.Components.Chart.Line ChartId="@ParamId" AspRatio="4" DataTS="@LevelVal" lineColor="@getLineColors("0.75")" backColor="@getFillColors("0.25")" pointColor="@getPointColors("1")" lTens="0" MinValue="@MinVal" MaxValue="@MaxVal"></MP.MONO.UI.Components.Chart.Line>
|
|
}
|
|
</div>
|
|
</div>
|
|
}
|
|
@*else
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
*@
|