You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
923 B
26 lines
923 B
@namespace Connected.Components
|
|
|
|
@inherits UIComponent
|
|
|
|
<CascadingValue Value="@this" IsFixed="true">
|
|
<div @attributes="UserAttributes" class="@Classname" style="@Style" dir="ltr">
|
|
@if (ChartType == ChartType.Donut)
|
|
{
|
|
<Donut InputData="@InputData" @bind-SelectedIndex="@SelectedIndex" InputLabels="@InputLabels"></Donut>
|
|
}
|
|
@if (ChartType == ChartType.Pie)
|
|
{
|
|
<Pie InputData="@InputData" @bind-SelectedIndex="@SelectedIndex" InputLabels="@InputLabels"></Pie>
|
|
}
|
|
@if (ChartType == ChartType.Line)
|
|
{
|
|
<Line ChartSeries="@ChartSeries" @bind-SelectedIndex="@SelectedIndex" XAxisLabels="@XAxisLabels"></Line>
|
|
}
|
|
@if (ChartType == ChartType.Bar)
|
|
{
|
|
<Bar ChartSeries="@ChartSeries" @bind-SelectedIndex="@SelectedIndex" XAxisLabels="@XAxisLabels"></Bar>
|
|
}
|
|
</div>
|
|
</CascadingValue>
|
|
|