Xuni User Guide > Xuni Controls > FlexPie > Features > Donut Pie Chart |
The InnerRadius
property can be used to leave a blank inner space in the FlexPie, creating a Donut Pie Chart. The blank space can be used to display additional data.
The following image shows a donut FlexPie.
The following code examples demonstrate how to set this property in C# and XAML. These examples use the sample created in the Quick Start section.
C# |
Copy Code |
---|---|
chart.InnerRadius = 0.5; |
XAML |
Copy Code |
---|---|
<xuni:FlexPie x:Name="chart" ItemsSource="{Binding Data}" BindingName="Name" Binding ="Value" InnerRadius="0.5" Grid.Row="1" Grid.ColumnSpan="2"> </xuni:FlexPie> |