whoopsie.
This commit is contained in:
parent
8f8bf3d32d
commit
f71ffc98a5
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++ {
|
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
0
vector_renderer.go
Normal file
Loading…
Reference in New Issue
Block a user