summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-03-07 15:02:04 +0800
committerxuri <xuri.me@gmail.com>2021-03-07 15:02:04 +0800
commit7e12b560ce40fc756fa5347d25a64ea48f9710ac (patch)
tree747ab4400b798b96bfa3c0e8f063b0e463ce819a /chart.go
parent71bd5e19598db4dae85d983d1f79251451cb2d9a (diff)
#625, support setting formula for cell in streaming API
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart.go b/chart.go
index 9d44c50..6b7053e 100644
--- a/chart.go
+++ b/chart.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.
//
@@ -923,8 +923,8 @@ func (f *File) AddChartSheet(sheet, format string, combo ...string) error {
return err
}
cs := xlsxChartsheet{
- SheetViews: []*xlsxChartsheetViews{{
- SheetView: []*xlsxChartsheetView{{ZoomScaleAttr: 100, ZoomToFitAttr: true}}},
+ SheetViews: &xlsxChartsheetViews{
+ SheetView: []*xlsxChartsheetView{{ZoomScaleAttr: 100, ZoomToFitAttr: true}},
},
}
f.SheetCount++