Skip to content

Commit

Permalink
This closes #1926, fix secondary vertical axis title is not displayed (
Browse files Browse the repository at this point in the history
  • Loading branch information
vsemichev committed Jun 21, 2024
1 parent f04aa8d commit 4e6457a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drawing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 4e6457a

Please sign in to comment.