AccountingNext/Schaad.Accounting.UI/Components/Pages/Charts/Spendings.razor

15 lines
414 B
Text

@page "/spendings"
@rendermode InteractiveServer
<PageTitle>Ausgaben</PageTitle>
<FluentCard Style="padding: 16px; max-width: 900px;">
@if (config is not null && layout is not null && data is not null)
{
<PlotlyChart style="height: 560px; min-height: 420px" @bind-Config="config" @bind-Layout="layout" @bind-Data="data" @ref="chart" />
}
else
{
<Loading/>
}
</FluentCard>