In this article, we will show you, How to Format Donut Chart in Power BI with example. This includes enabling Legend, positioning Legend, Title position, Slice colors, and background Colors etc.
To demonstrate these formatting options, we are going to use the Donut Chart that we created earlier. Please refer Power BI Dount Chart article to understand the steps involved in creating a Donut Chart.
How to Format Donut Chart in Power BI
Please click on the Format button to see the list of available formatting options for this Donut Chart.
Format Legend of a Donut Chart in Power BI
To display or enable the Legend, Please select the Legend region and toggle the option from Off to On. From the below screenshot, you can see the list of properties available for legend
Position: Use the drop down box to change the Donut Chart legend position as per your requirements. For now, we are selecting Top Center.
As you can see from the below screenshot, we changed the Legend Title to product category, Color to Green, Font family to Georgia, and text size to 20.
Format Data Colors of a Donut Chart in Power BI
Data Colors are used to change the Slice Colors. Use this section to change the default slice colors to required ones.
For the demonstration purpose we changed the Bikes color to yellow.
Format Detail labels of a Power BI Donut Chart
Detail labels will display the information about each slice. By default, it will display the Category Name as the label. Let me change the Label style to All details. It means, each slice will show the information about the Category Name, Order Quantity, and the Percentage of Total.
As you can see from the below screenshot, we also changed the Color of a Label to Green, and font size to 18. You can also change the Display Units from Auto to Millions or Trillions.
Format Donut Chart in Power BI Title
To display the Pie Chart Title, Please select the Title, and change the option from Off to On. Following are the list of options that are available to format the Donut Chart title.
As you can see from the below screenshot, we change the Title Text to Order Quantity by Product Category Name, Font Color to brick red, Font style to Corbel, Font Size to 32, and Title Alignment to center.
Add Background Color to Donut Chart in Power BI
You can add Background color to Donut Chart by toggling the Background option from Off to On. For the demonstration purpose we are adding background color. Here, you can change the Transparency percentage as well.
Add Border Colors to Dount Chart in Power BI
Toggling Border option from Off to On will allow you to add Borders to Donut Chart. For the demonstration purpose we are enabling it, and adding Black color as the Border color.
You can use this General Section to Change the X, Y position, Width and height of a Donut Chart
Thank You for Visiting Our Blog