summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-09-18 00:07:15 +0800
committerxuri <xuri.me@gmail.com>2022-09-18 00:07:15 +0800
commit3f702999e6bba26afbd2a259f6849e536042ec2e (patch)
tree4bfbbb9c1f01c52bcb9ffedac6ba9190650470cf /chart.go
parent73cc4bd44933994ffa8efad9c3e05fe7cb826b49 (diff)
Using the specialized name in a variable and making comments clear
- Add JSON tags for `AppProperties`, `PivotTableOption` and `PivotTableField` structure
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart.go b/chart.go
index 5f7ae3d..267e0dd 100644
--- a/chart.go
+++ b/chart.go
@@ -984,8 +984,8 @@ func (f *File) getFormatChart(format string, combo []string) (*formatChart, []*f
return formatSet, comboCharts, err
}
-// DeleteChart provides a function to delete chart in XLSX by given worksheet
-// and cell name.
+// DeleteChart provides a function to delete chart in spreadsheet by given
+// worksheet name and cell reference.
func (f *File) DeleteChart(sheet, cell string) (err error) {
col, row, err := CellNameToCoordinates(cell)
if err != nil {