This closes #1926, fix secondary vertical axis title is not displayed (#1928)

This commit is contained in:
Vovka Morkovka 2024-06-20 20:13:12 -04:00 committed by GitHub
parent f04aa8dd31
commit 4e6457accd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -1088,7 +1088,6 @@ func (f *File) drawPlotAreaValAx(pa *cPlotArea, opts *Chart) []*cAxs {
if opts.order > 0 && opts.YAxis.Secondary && pa.ValAx != nil {
ax.AxID = &attrValInt{Val: intPtr(opts.YAxis.axID)}
ax.AxPos = &attrValString{Val: stringPtr("r")}
ax.Title = nil
ax.Crosses = &attrValString{Val: stringPtr("max")}
ax.CrossAx = &attrValInt{Val: intPtr(opts.XAxis.axID)}
return []*cAxs{pa.ValAx[0], ax}