diff --git a/annotation_series.go b/annotation_series.go index 873d1d2..b9b9e2b 100644 --- a/annotation_series.go +++ b/annotation_series.go @@ -49,7 +49,7 @@ func (as AnnotationSeries) Measure(r Renderer, canvasBox Box, xrange, yrange Ran Padding: DefaultAnnotationPadding, }) for _, a := range as.Annotations { - lx := canvasBox.Left - xrange.Translate(a.X) + lx := canvasBox.Left + xrange.Translate(a.X) ly := canvasBox.Bottom - yrange.Translate(a.Y) ab := MeasureAnnotation(r, canvasBox, style, lx, ly, a.Label) box.Top = MinInt(box.Top, ab.Top)