Skip to content

This sample explains how to create a Pyramid chart in .NET MAUI to illustrate global wealth distribution in 2021.

Notifications You must be signed in to change notification settings

SyncfusionExamples/Creating-a-Pyramid-Chart-for-Global-Wealth-Distribution-in-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Creating a Pyramid Chart for Global Wealth Distribution in 2021

Description

A pyramid chart provides a proportional visualization of a total in hierarchies. It is a single series chart without an axis. The data is shown as percentages of a total, where the sum of the parts makes up the whole.

Mode

The SfPyramidChart allows you to render a chart in a linear or surface mode by using the Mode property. In the Linear mode, the height of the pyramid segment is based on the y-value. In the Surface mode, the area of the pyramid segment is based on the y-value. By default, the Mode property is set to linear.

GapRatio

The GapRatio property is used to change the space between two segments. The default value of the GapRatio property is 0, and its value ranges from 0 to 1.

This sample shows how to visualize a comparison of global wealth distribution in 2021 using a .NET MAUI Pyramid Chart. This comparison will help us understand how wealth is distributed among the population and the existing inequalities.

Demo

Troubleshooting

Path too long exception

If you are facing a path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.

For a step by step procedure, refer to the Global Wealth Pyramid blog.

About

This sample explains how to create a Pyramid chart in .NET MAUI to illustrate global wealth distribution in 2021.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages