PHP webservice for generating SVG charts