whoopsie.
This commit is contained in:
parent
8f8bf3d32d
commit
f71ffc98a5
2 changed files with 1 additions and 1 deletions
2
chart.go
2
chart.go
|
@ -249,7 +249,7 @@ func (c Chart) drawYAxisLabels(r Renderer, canvasBox Box, yrange Range) {
|
|||
}
|
||||
|
||||
for index := 0; index < count; index++ {
|
||||
v := rangeTicks[index]
|
||||
v := rangeTicks[index] + yrange.Min
|
||||
y := domainTicks[index]
|
||||
ty := canvasBox.Bottom - int(y)
|
||||
r.Text(yrange.Format(v), tx, ty)
|
||||
|
|
0
vector_renderer.go
Normal file
0
vector_renderer.go
Normal file
Loading…
Reference in a new issue