From 7e12b560ce40fc756fa5347d25a64ea48f9710ac Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 7 Mar 2021 15:02:04 +0800 Subject: #625, support setting formula for cell in streaming API --- chart.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chart.go') 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++ -- cgit v1.2.1