summaryrefslogtreecommitdiff
path: root/drawing.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-02-15 00:09:35 +0800
committerxuri <xuri.me@gmail.com>2021-02-15 00:09:35 +0800
commit36b7990d6ba1036823abf7a01ec8cf74509d4910 (patch)
tree118e8a9e0db3d071defb497cd98b2fa85595f7b9 /drawing.go
parentca6b1577a7d1508e61e7084ee67ab0dd759b305e (diff)
lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX
Diffstat (limited to 'drawing.go')
-rw-r--r--drawing.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/drawing.go b/drawing.go
index f0eb7e9..2518651 100644
--- a/drawing.go
+++ b/drawing.go
@@ -1,4 +1,4 @@
-// Copyright 2016 - 2020 The excelize Authors. All rights reserved. Use of
+// Copyright 2016 - 2021 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
//
@@ -51,7 +51,6 @@ func (f *File) prepareChartSheetDrawing(cs *xlsxChartsheet, drawingID int, sheet
cs.Drawing = &xlsxDrawing{
RID: "rId" + strconv.Itoa(rID),
}
- return
}
// addChart provides a function to create chart as xl/charts/chart%d.xml by
@@ -1272,7 +1271,6 @@ func (f *File) addSheetDrawingChart(drawingXML string, rID int, formatSet *forma
}
content.AbsoluteAnchor = append(content.AbsoluteAnchor, &absoluteAnchor)
f.Drawings[drawingXML] = content
- return
}
// deleteDrawing provides a function to delete chart graphic frame by given by