Xamarin.Android | ComponentOne
Controls / FlexPie / Features / Exploded Pie Chart
In This Topic
    Exploded Pie Chart
    In This Topic

    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 floating value to determine how far the pie slices should be pushed from the center.

    The image below shows an exploded FlexPie.

    Exploded pie chart showing fruit sales

    The following code examples demonstrate how to set this property in C#. These examples use the sample created in the Quick Start section.

    C#
    Copy Code
    fpie.Offset = 0.2;