
bhawin13 - 2006-11-10 05:47:26
Hello there,
SVG chart not working correctly in firefox 1.5.8 and may be other version of firefox.
I have added svg namespace to it check following modified function.
/////////////////////////////////////////////////////////
function encapsulate($svg) {
$data = "<?xml version='1.0' encoding='iso-8859-1' ?>\n<svg xmlns= 'http://www.w3.org/2000/svg' >\n\n";
$data .= $svg;
$data .= "</svg>";
return $data;
}
/////////////////////////////////////////////////////////
Follwing is change from <svg>
<svg xmlns='http://www.w3.org/2000/svg' >
Now after chnage it works fine.
Regards