HelpBot Assistant

How can I help you?

Segment spacing in .NET MAUI Pyramid Chart

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;

Segment spacing in MAUI Chart