Hello Syncfusion
I have 2 problems with SFCircularGauge.
My example XAML looks like this:
<gauge:SfCircularGauge Grid.Row="0" Grid.Column="0">
<gauge:SfCircularGauge.Scales>
<gauge:Scale StartValue="3.5" EndValue="8.5" Interval="0.5" RimThickness="1" RimColor="Gray" LabelColor="Gray" LabelOffset="0.3">
<gauge:Scale.Ranges>
<gauge:Range StartValue="3.5" EndValue="4" Color="#D00019" Thickness="10" Offset="0.2" />
<gauge:Range StartValue="4" EndValue="4.5" Color="#FF9600" Thickness="10" Offset="0.2" />
<gauge:Range StartValue="4.5" EndValue="5" Color="#FFFF00" Thickness="10" Offset="0.2" />
<gauge:Range StartValue="5" EndValue="7" Color="#00963C" Thickness="10" Offset="0.2" />
<gauge:Range StartValue="7" EndValue="7.5" Color="#FFFF00" Thickness="10" Offset="0.2" />
<gauge:Range StartValue="7.5" EndValue="8" Color="#FF9600" Thickness="10" Offset="0.2" />
<gauge:Range StartValue="8" EndValue="8.5" Color="#D00019" Thickness="10" Offset="0.2" />
</gauge:Scale.Ranges>
<gauge:Scale.MajorTickSettings>
<gauge:TickSettings Thickness="1" Color="#DDDDDD" Length="10" />
</gauge:Scale.MajorTickSettings>
<gauge:Scale.MinorTickSettings>
<gauge:TickSettings Thickness="0" />
</gauge:Scale.MinorTickSettings>
<gauge:Scale.Pointers>
<gauge:RangePointer Thickness="30" Value="{Binding PowerSupplyPreassure}" Color="#0091DC" />
</gauge:Scale.Pointers>
</gauge:Scale>
</gauge:SfCircularGauge.Scales>
<gauge:SfCircularGauge.Headers>
<gauge:Header Text="{Binding PowerSupplyPreassureText}" Position="0.5,0.5" ForegroundColor="Black" TextSize="25" />
<gauge:Header Text="[bar]" Position="0.5,0.6" ForegroundColor="Black" TextSize="10" />
</gauge:SfCircularGauge.Headers>
</gauge:SfCircularGauge>
Back to my problems:
1. When using StartValue on a Scale that is not equal to 0, I have a problem with Ranges (see attached ranges.png) It looks like it would still start rendering ranges from 0?
2. All is not showing correctly after transitions between portrait / landscape.
Best regards,
Grzegorz
Attachment:
screens_b25ec43e.zip