Skip to content

This article explains how to create a .NET MAUI Doughnut Chart to Visualize The World's Biggest Oil Producers in 2023.

Notifications You must be signed in to change notification settings

SyncfusionExamples/Creating-the-.NET-MAUI-Doughnut-Chart-to-Visualize-the-World-s-Biggest-Oil-Producers-in-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Creating the .NET MAUI Doughnut Chart to Visualize the World's Biggest Oil Producers in 2023

This sample demonstrates how to create a .NET MAUI Doughnut Chart to Visualize The World's Biggest Oil Producers in 2023

Doughnut chart

Doughnut chart is used to show the relationship between parts of data and whole data. To render a DoughnutSeries in circular chart, create an instance of the DoughnutSeries and add it to the Series collection property of SfCircularChart.

Customize the doughnut chart

We customize the doughnut segment color, border, and width and group the data points less than the specific value using the PaletteBrushes, Stroke, and StrokeWidth properties, respectively.

We can also modify the start and end positions of a segment in the chart using the StartAngle and EndAngle properties.

Additionally,we can also customize the appearance of the data labels using the LabelTemplate property. we will use SmartLabelAlignment to arrange the data labels intelligently, preventing them from overlapping. By utilizing LabelContext, we can tailor the label content to display the percentage value of the corresponding data point's Y value

Exploding a segment

Exploding a segment is used to pull attention to a specific area of the circular chart.

Customize the CenterView

Any view can be added to the center of the doughnut chart using the CenterView property of DoughnutSeries. The view placed in the center of the doughnut chart is useful for sharing additional information about the doughnut chart. The binding context of the CenterView will be the respective doughnut series.

Output

DoughnutChartOutput

For more details on the step-by-step procedure, refer to the blog of the World's Biggest Oil Producers in 2023

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages