diff options
author | xuri <xuri.me@gmail.com> | 2021-03-07 15:02:04 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-03-07 15:02:04 +0800 |
commit | 7e12b560ce40fc756fa5347d25a64ea48f9710ac (patch) | |
tree | 747ab4400b798b96bfa3c0e8f063b0e463ce819a /chart.go | |
parent | 71bd5e19598db4dae85d983d1f79251451cb2d9a (diff) |
#625, support setting formula for cell in streaming API
Diffstat (limited to 'chart.go')
-rw-r--r-- | chart.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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++ |