From e2bd08c9111b0141c66adf232edb2fd729afa63f Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 21 Jan 2020 23:29:56 +0800 Subject: Make DeleteChart delete multiple charts located on the same cell --- drawing.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drawing.go') 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"), }, -- cgit v1.2.1