tweaks to fix annotation series drawing.
This commit is contained in:
parent
01992b9afb
commit
c14ab6a4b2
2 changed files with 7 additions and 1 deletions
3
chart.go
3
chart.go
|
|
@ -118,10 +118,11 @@ func (c Chart) Render(rp RendererProvider, w io.Writer) error {
|
|||
}
|
||||
|
||||
c.drawCanvas(r, canvasBox)
|
||||
c.drawAxes(r, canvasBox, xr, yr, yra, xt, yt, yta)
|
||||
for index, series := range c.Series {
|
||||
c.drawSeries(r, canvasBox, xr, yr, yra, series, index)
|
||||
}
|
||||
c.drawAxes(r, canvasBox, xr, yr, yra, xt, yt, yta)
|
||||
|
||||
c.drawTitle(r)
|
||||
|
||||
for _, a := range c.Elements {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue