From b87b23086cef0850f5baa9f1a4519576b26f4ab6 Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Tue, 8 Jan 2013 15:31:39 +0100 Subject: make stroke bigger in pie chart. --- image/wayland-sep-pie.svg | 4 ++-- piechart.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/image/wayland-sep-pie.svg b/image/wayland-sep-pie.svg index c15faf8..2299f3d 100644 --- a/image/wayland-sep-pie.svg +++ b/image/wayland-sep-pie.svg @@ -4,6 +4,6 @@ Pie chart Picture of a pie chart - - + + diff --git a/piechart.php b/piechart.php index 42b29f9..ddb34c0 100644 --- a/piechart.php +++ b/piechart.php @@ -101,7 +101,7 @@ function piechart($data, $cx, $cy, $radius) { $chartelem .= " L$adx,$ady "; // draw line away away from cursor $chartelem .= " A$radius,$radius 0 $laf,1 $ax,$ay "; // draw arc $chartelem .= " z\" "; // z = close path - $chartelem .= " fill=\"$colour\" stroke=\"#FFFFFF\" stroke-width=\"2\" "; + $chartelem .= " fill=\"$colour\" stroke=\"#FFFFFF\" stroke-width=\"3\" "; $chartelem .= " fill-opacity=\"1.0\" stroke-linejoin=\"round\" />"; $dx = $x; // old end points become new starting point $dy = $y; // id. -- cgit