summaryrefslogtreecommitdiff
path: root/drawing.go
diff options
context:
space:
mode:
Diffstat (limited to 'drawing.go')
-rw-r--r--drawing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawing.go b/drawing.go
index 49506a3..316897b 100644
--- a/drawing.go
+++ b/drawing.go
@@ -563,7 +563,7 @@ func (f *File) drawPie3DChart(formatSet *formatChart) *cPlotArea {
// pie chart by given format sets.
func (f *File) drawPieOfPieChart(formatSet *formatChart) *cPlotArea {
return &cPlotArea{
- PieChart: &cCharts{
+ OfPieChart: &cCharts{
OfPieType: &attrValString{
Val: stringPtr("pie"),
},
@@ -580,7 +580,7 @@ func (f *File) drawPieOfPieChart(formatSet *formatChart) *cPlotArea {
// pie chart by given format sets.
func (f *File) drawBarOfPieChart(formatSet *formatChart) *cPlotArea {
return &cPlotArea{
- PieChart: &cCharts{
+ OfPieChart: &cCharts{
OfPieType: &attrValString{
Val: stringPtr("bar"),
},