From f71ffc98a5358d8df1c61e5fe822185220cd1998 Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Thu, 7 Jul 2016 21:07:47 -0700 Subject: [PATCH] whoopsie. --- chart.go | 2 +- vector_renderer.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 vector_renderer.go 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