diff options
-rw-r--r-- | image/wayland-sep-pie.svg | 4 | ||||
-rw-r--r-- | 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 @@ <title>Pie chart</title> <desc>Picture of a pie chart</desc> -<path d="M200,200 L390,200 A190,190 0 1,1 383.36729378339,150.23620220928 z" fill="#73d216" stroke="#FFFFFF" stroke-width="2" fill-opacity="1.0" stroke-linejoin="round" /> -<path d="M200,200 L383.36729378339,150.23620220928 A190,190 0 0,1 390,200 z" fill="#cc0000" stroke="#FFFFFF" stroke-width="2" fill-opacity="1.0" stroke-linejoin="round" /> +<path d="M200,200 L390,200 A190,190 0 1,1 383.36729378339,150.23620220928 z" fill="#73d216" stroke="#FFFFFF" stroke-width="3" fill-opacity="1.0" stroke-linejoin="round" /> +<path d="M200,200 L383.36729378339,150.23620220928 A190,190 0 0,1 390,200 z" fill="#cc0000" stroke="#FFFFFF" stroke-width="3" fill-opacity="1.0" stroke-linejoin="round" /> </svg> 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. |