diff options
author | xuri <xuri.me@gmail.com> | 2019-09-26 22:28:14 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-09-26 22:28:14 +0800 |
commit | eb520ae27757d4bca276fa2894bf461d75df9b37 (patch) | |
tree | 5fa25471b3b6590f5314445b49f909002b2962cb /col.go | |
parent | 475fbf3856dd83c4813874570ae5ae2cb48ed421 (diff) |
Improve compatibility for charts
Diffstat (limited to 'col.go')
-rw-r--r-- | col.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ func (f *File) GetColOutlineLevel(sheet, col string) (uint8, error) { for c := range xlsx.Cols.Col { colData := &xlsx.Cols.Col[c] if colData.Min <= colNum && colNum <= colData.Max { - level = colData.OutlineLevel + 1 + level = colData.OutlineLevel } } return level, err |