As an example, if we define the Axis (GaugeLinearAxis) Min and Max from -20 to 100, and the GaugeBarIndictor value is set to 35, the Fill starts at 0 and ends at 35, rather than starting at -20 and ending at 35.
Similarly, if the GaugeBarIndictor value is set to -10, the fill starts at 0, and ends at -10, rather than -20 to -10.
This behavior occurs on both windows and android.
Xaml
<telerik:RadRadialGauge x:Name="gauge"
AutomationId="gauge">
<telerik:RadRadialGauge.Axis>
<telerik:GaugeLinearAxis x:Name="axis" />
</telerik:RadRadialGauge.Axis>
<telerik:RadRadialGauge.Indicators>
<telerik:GaugeBarIndicator x:Name="barIndicator" />
<telerik:GaugeNeedleIndicator x:Name="needle" />
</telerik:RadRadialGauge.Indicators>
<telerik:RadRadialGauge.Ranges>
<telerik:GaugeRangesDefinition x:Name="rangeDefinition">
<telerik:GaugeGradientRange x:Name="mainRange">
<telerik:RadGradientStop x:Name="mainRangeStart" />
<telerik:RadGradientStop x:Name="mainRangeEnd" />
</telerik:GaugeGradientRange>
</telerik:GaugeRangesDefinition>
</telerik:RadRadialGauge.Ranges>
</telerik:RadRadialGauge>
Code Behind:
axis.Minimum = MinValue;
axis.Maximum = MaxValue;
private void SetValue(float? value)
{
if (value == null)
{
barIndicator.Value = MinValue;
}
else
{
barIndicator.Value = value.Value;
}
}