whoopsie.

This commit is contained in:
Will Charczuk 2016-07-07 21:07:47 -07:00
parent 8f8bf3d32d
commit f71ffc98a5
2 changed files with 1 additions and 1 deletions

View file

@ -249,7 +249,7 @@ func (c Chart) drawYAxisLabels(r Renderer, canvasBox Box, yrange Range) {
} }
for index := 0; index < count; index++ { for index := 0; index < count; index++ {
v := rangeTicks[index] v := rangeTicks[index] + yrange.Min
y := domainTicks[index] y := domainTicks[index]
ty := canvasBox.Bottom - int(y) ty := canvasBox.Bottom - int(y)
r.Text(yrange.Format(v), tx, ty) r.Text(yrange.Format(v), tx, ty)

0
vector_renderer.go Normal file
View file