diff options
Diffstat (limited to 'drawing.go')
-rw-r--r-- | drawing.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -966,7 +966,7 @@ func (f *File) drawPlotAreaCatAx(formatSet *formatChart) []*cAxs { Max: max, Min: min, }, - Delete: &attrValBool{Val: boolPtr(false)}, + Delete: &attrValBool{Val: boolPtr(formatSet.XAxis.None)}, AxPos: &attrValString{Val: stringPtr(catAxPos[formatSet.XAxis.ReverseOrder])}, NumFmt: &cNumFmt{ FormatCode: "General", @@ -1020,7 +1020,7 @@ func (f *File) drawPlotAreaValAx(formatSet *formatChart) []*cAxs { Max: max, Min: min, }, - Delete: &attrValBool{Val: boolPtr(false)}, + Delete: &attrValBool{Val: boolPtr(formatSet.YAxis.None)}, AxPos: &attrValString{Val: stringPtr(valAxPos[formatSet.YAxis.ReverseOrder])}, NumFmt: &cNumFmt{ FormatCode: chartValAxNumFmtFormatCode[formatSet.Type], @@ -1069,7 +1069,7 @@ func (f *File) drawPlotAreaSerAx(formatSet *formatChart) []*cAxs { Max: max, Min: min, }, - Delete: &attrValBool{Val: boolPtr(false)}, + Delete: &attrValBool{Val: boolPtr(formatSet.YAxis.None)}, AxPos: &attrValString{Val: stringPtr(catAxPos[formatSet.XAxis.ReverseOrder])}, TickLblPos: &attrValString{Val: stringPtr("nextTo")}, SpPr: f.drawPlotAreaSpPr(), |