Segment spacing in .NET MAUI Pyramid Chart
29 Oct 20241 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;
this.Content = chart;