Skip to content

SyncfusionExamples/How-to-create-a-Doughnut-Chart-for-the-World-s-Top-Coffee-Producing-Countries-in-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Creating a Doughnut Chart for the World’s Top Coffee Producing Countries in 2023.

This sample demonstrates how to create a Doughnut Chart for the World’s Top Coffee Producing Countries 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, StrokeWidth, and GroupTo properties, respectively.

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

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.

Using the CenterHoleSize, we can protect the view in the doughnut center from overlapping with the series

Updated-DoughnutChartOutput

For a step by step procedure, refer to the World's Top Coffee-Producing Countries.

About

This sample demonstrates how to visualize the world's top coffee-producing countries in 2023 using a Doughnut Chart

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages