tweaking xaxis gridline handling.

This commit is contained in:
Will Charczuk 2016-08-11 15:51:49 -07:00
parent 141327f898
commit 7951d97d82
2 changed files with 19 additions and 1 deletions

View file

@ -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))
}
}
}