Locked lesson.
About this lesson
In this lesson, we'll look at Projected Pie charts, which are pie charts with some chunks pulled out and projected to the side.
Exercise files
Download this lesson’s related exercise files.
37 - Projected Pie Charts.docx61.6 KB 37 - Projected Pie Charts SOLUTION.docx
58.6 KB
Quick reference
Projected Pie Charts
In this video we'll look at Projected Pie charts, which are pie charts with some chunks pulled out and projected to the side.
When to use
Use this whenever you'd like a pie chart with a little more interesting visuals.
Instructions
# Import the charts
from openpyxl.chart import Reference, ProjectedPieChart
# Create a Chart instance
chart = ProjectedPieChart()
# Set The Chart Type
chart.type = "pie" # can be pie or bar
chart.splitType = "pos" # can be pos or val
Hints & tips
- from openpyxl.chart import Reference, ProjectedPieChart
- chart = ProjectedPieChart()
- chart.type = "pie" # can be pie or bar
- chart.splitType = "pos" # can be pos or val
Lesson notes are only available for subscribers.