Skip to content

Commit

Permalink
Merge pull request #579 from AndreasReitberger/578-missing-background…
Browse files Browse the repository at this point in the history
…-for-sfradialgauge

Set `Background` for `SfRadialGauge` to `Transparent`
  • Loading branch information
AndreasReitberger authored Nov 4, 2024
2 parents 84b2898 + 4a0c3c7 commit bc2f9fc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@

<!-- Docs: https://help.syncfusion.com/maui/radial-gauge/overview-->
<Style x:Key="Style.Syncfusion.SfRadialGauge.Default" TargetType="gauge:SfRadialGauge">
<Setter Property="Background" Value="{StaticResource Transparent}" />
<Setter Property="WidthRequest" Value="250" />
<Setter Property="HeightRequest" Value="250" />
</Style>

<Style TargetType="gauge:SfRadialGauge" BasedOn="{StaticResource Style.Syncfusion.SfRadialGauge.Default}" />

<Style x:Key="Style.Syncfusion.RadialLineStyle.Default" TargetType="gauge:RadialLineStyle">
<!--<Setter Property="Background" Value="{StaticResource Transparent}" />-->
<Setter Property="Fill" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray700}}" />
<Setter Property="Thickness" Value="4" />
<Setter Property="ThicknessUnit" Value="Pixel" />
Expand All @@ -34,4 +36,4 @@
<Setter Property="StrokeThickness" Value="1.0" />
</Style>
-->
</ResourceDictionary>
</ResourceDictionary>

0 comments on commit bc2f9fc

Please sign in to comment.