Articles in this section
Category / Section

What is the use of gapRatio property in Pyramid Chart?

1 min read

The gapRatio property specifies the gap between segments in a Pyramid series. It takes value between 0 and 1. When gap ratio is 0, there is no gap between segments and when gap ratio is 0, the segments are visible.

JS

$("#container").ejChart({
    commonSeriesOptions: {
        type: 'pyramid',
        gapRatio: 0.5
    }
});

The following screenshot displays the Pyramid series with gap ratio 0.5.

The use of gapRatio property in Pyramid Chart

Figure 1: Pyramid series with gap ratio 0.5

JS Playground sample link: Gap ratio

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied