From 55af7b5531b3e8551428101c87484b5fa9a066c4 Mon Sep 17 00:00:00 2001 From: AshfordN Date: Sun, 1 Sep 2019 20:40:14 -0400 Subject: [PATCH] Filled circle after drawing fixes issue #69 --- pie_chart.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pie_chart.go b/pie_chart.go index cb8cd07..c5cfabf 100644 --- a/pie_chart.go +++ b/pie_chart.go @@ -143,6 +143,7 @@ func (pc PieChart) drawSlices(r Renderer, canvasBox Box, values []Value) { pc.stylePieChartValue(0).WriteToRenderer(r) r.MoveTo(cx, cy) r.Circle(radius, cx, cy) + r.FillStroke() } else { for index, v := range values { v.Style.InheritFrom(pc.stylePieChartValue(index)).WriteToRenderer(r)