Files
mapo-core/MP.SPEC/Components/ODLPlot.razor
T
zaccaria.majid de3ce0f114 inizio odl Plot
2022-10-10 10:11:02 +02:00

27 lines
936 B
Plaintext

@using MP.SPEC.Components
@using MP.Data
@using Microsoft.Extensions.Configuration;
@inject IConfiguration Configuration;
@if (!string.IsNullOrEmpty(SelectedODL))
{
<div class="d-flex justify-content-between mb-2">
<div class="px-1 border border-info rounded">
<i class="fa-solid fa-tower-broadcast"></i> <b>@SelectedODL</b>
</div>
</div>
<div class="d-flex">
<div class="px-1 flex-fill">
@if (LevelVal == null || LevelVal.Count == 0)
{
<LoadingDataSmall></LoadingDataSmall>
}
else
{
<MP.SPEC.Components.Chart.Line ChartId="@ODLId" AspRatio="4" DataTS="@LevelVal" lineColor="@getLineColors("0.75")" backColor="@getFillColors("0.25")" pointColor="@getPointColors("1")" lTens="0" MinValue="@MinVal" MaxValue="@MaxVal"></MP.SPEC.Components.Chart.Line>
}
</div>
</div>
}