diff --git a/chart.go b/chart.go index d4439e1..b1931cf 100644 --- a/chart.go +++ b/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) diff --git a/vector_renderer.go b/vector_renderer.go new file mode 100644 index 0000000..e69de29