Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
How change XamRadialGauge control size to fill grid
posted

In my Xamarin project made with  appMap iu have  grid with 5 columns and i want to add a XamRadialGauge  in a row with Grid.ColumnSpan="3" and fill it but its show small:

}

Thios is my xaml code

<Grid BackgroundColor="White" VerticalOptions="FillAndExpand">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="5*" />
<ColumnDefinition Width="43*" />
<ColumnDefinition Width="4*" />
<ColumnDefinition Width="43*" />
<ColumnDefinition Width="5*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="5*"/>
<RowDefinition Height="10*"/>
<RowDefinition Height="25*"/>
<RowDefinition Height="5*"/>
<RowDefinition Height="20*"/>
<RowDefinition Height="5*"/>
<RowDefinition Height="20*" />
<RowDefinition Height="10*"/>
</Grid.RowDefinitions>

<igGauges:XamRadialGauge Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="5" BackgroundColor="#00000000" BackingBrush="#E6E8F1F2" BackingInnerExtent="0.09"
BackingOuterExtent="0.8" BackingOutline="#00E31717" BackingShape="Fitted" FontBrush="#FF000000" FontSize="10" Interval="25"
MinorTickBrush="#FF000000" MinorTickStartExtent="0.53" MinorTickStrokeThickness="1.5" NeedleBrush="#FF000000"
NeedleEndExtent="0.55" NeedleOutline="#00FFFFFF" NeedlePivotBrush="#FF000000" NeedlePivotOutline="#00FFFFFF"
NeedlePivotStrokeThickness="0" NeedlePivotWidthRatio="0" NeedlePointFeatureWidthRatio="0" NeedleShape="Triangle"
NeedleStartWidthRatio="0.05" NeedleStrokeThickness="0" ScaleBrush="#00FF0A0A" ScaleEndAngle="0" ScaleStartAngle="180"
TickBrush="#FF000000" TickStartExtent="0.49" TickStrokeThickness="2.5" HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand" HeightRequest="500">
<igGauges:XamRadialGauge.Ranges>
<igGauges:RadialGaugeRange EndValue="25" InnerEndExtent="0.35" InnerStartExtent="0.39" OuterEndExtent="0.45" OuterStartExtent="0.45" StartValue="0" />
<igGauges:RadialGaugeRange EndValue="75" InnerEndExtent="0.3" InnerStartExtent="0.35" OuterEndExtent="0.45" OuterStartExtent="0.45" StartValue="25" />
<igGauges:RadialGaugeRange EndValue="100" InnerEndExtent="0.35" InnerStartExtent="0.35" OuterEndExtent="0.45" OuterStartExtent="0.45" StartValue="75" />
</igGauges:XamRadialGauge.Ranges>
</igGauges:XamRadialGauge>