Segment spacing in .NET MAUI Pyramid Chart

27 Dec 20221 minute to read

The gap between each segment in the pyramid chart can be set using the GapRatio property. The default value of GapRatio property is 0 and its value ranges from 0 to 1.

<chart:SfPyramidChart GapRatio="0.2">
. . .
</chart:SfPyramidChart>
SfPyramidChart chart = new SfPyramidChart();
. . .
chart.GapRatio = 0.2;
. . .

Segment spacing in MAUI Chart