tweaking xaxis gridline handling.
This commit is contained in:
parent
141327f898
commit
7951d97d82
2 changed files with 19 additions and 1 deletions
2
xaxis.go
2
xaxis.go
|
|
@ -183,7 +183,7 @@ func (xa XAxis) Render(r Renderer, canvasBox Box, ra Range, defaults Style, tick
|
|||
if gl.IsMinor {
|
||||
defaults = xa.GridMinorStyle
|
||||
}
|
||||
gl.Render(r, canvasBox, ra, defaults)
|
||||
gl.Render(r, canvasBox, ra, gl.Style.InheritFrom(defaults))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue