If user input should control which pointers that are visible as in this example:
@page "/gauge"
<div>
<TelerikCheckBox Id="display_second" @bind-Value=_displaySecond></TelerikCheckBox>
<label for="display_second">Display second pointer</label>
</div>
<TelerikRadialGauge>
<RadialGaugePointers>
<RadialGaugePointer Value="55" />
@if (_displaySecond)
{
<RadialGaugePointer Value="75" Color="red" />
}
</RadialGaugePointers>
</TelerikRadialGauge>
@code {
bool _displaySecond;
}
Hello Andreas,
Please use the CheckBox OnChange or ValueChanged event to call the Gauge Refresh() method after changing the component configuration programmatically. The same approach applies for all Charts.
Also see https://feedback.telerik.com/blazor/1719213
Regards,
Dimo
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.