The Offset property can be used to push the pie slices away from the center of the FlexPie, producing an exploded pie chart. This property accepts a decimal value to determine how far the pie slices should be pushed from the center.
The image below shows an exploded FlexPie.
The following code example demonstrates how to set the Offset property. This example uses the sample created in the Quick Start section.
Razor |
Copy Code
|
---|---|
.Offset(0.5f) |