Hi everyone,
First of all, Thanks for the incredible library.
Is it possible to create a control like this using sfCircularGauge or any other controls?
I made something but it is still SO FAR
| <Grid BackgroundColor="Black" x:DataType="syncgaugetest:ThermostatValues"> <gauge:SfCircularGauge VerticalOptions="Center" HorizontalOptions="Center" WidthRequest="200" HeightRequest="200" > <gauge:SfCircularGauge.Annotations> <gauge:GaugeAnnotation> <gauge:GaugeAnnotation.View> <Frame HeightRequest="65" WidthRequest="65" BackgroundColor="White" HasShadow="True" CornerRadius="65"> <Label TextColor="Black" FontSize="Medium" VerticalOptions="Center" HorizontalOptions="Center"> <Label.FormattedText> <FormattedString> <FormattedString.Spans> <Span Text="{Binding SetPoint, Mode=OneWay}"/> <Span Text=" ºC"/> </FormattedString.Spans> </FormattedString> </Label.FormattedText> </Label> </Frame> </gauge:GaugeAnnotation.View> </gauge:GaugeAnnotation> </gauge:SfCircularGauge.Annotations> <gauge:SfCircularGauge.Scales> <gauge:Scale ShowRim="False" LabelOffset="0.9" LabelPostfix=" ºC" StartAngle="90" StartValue="0" SweepAngle="360" ShowLastLabel="False" EndValue="40"> <gauge:Scale.MajorTickSettings> <gauge:TickSettings Length="10" Offset="1.1" Thickness="10"/> </gauge:Scale.MajorTickSettings> <gauge:Scale.Ranges> <gauge:Range StartValue="0" EndValue="40" Thickness="60" Offset="1"> <gauge:Range.GradientStops> <gauge:GaugeGradientStop Value="0" Color="#c3e0fb"/> <gauge:GaugeGradientStop Value="10" Color="#7880db"/> <gauge:GaugeGradientStop Value="20" Color="MediumPurple"/> <gauge:GaugeGradientStop Value="30" Color="#f4d1c5"/> </gauge:Range.GradientStops> </gauge:Range> </gauge:Scale.Ranges> <gauge:Scale.Pointers> <gauge:MarkerPointer StepFrequency="1" EnableDragging="True" Color="Blue" MarkerWidth="20" MarkerHeight="20" Offset="0.85" Value="{Binding SetPoint, Mode=TwoWay}" MarkerShape="Circle"/> <gauge:RangePointer RangeCap="Both" Thickness="10" Offset="1" Value="{Binding SetPoint, Mode=OneWay}"/> </gauge:Scale.Pointers> </gauge:Scale> </gauge:SfCircularGauge.Scales> </gauge:SfCircularGauge> </Grid> |
Hi there, And really thanks for the sample. It looks really great.
There's a little bad looking on UWP. If you can remove these separator lines in future releases it can be very welcome but not so much important for me.
Anyhow, Thanks for the great community and support.
Regards