Convert Google Api To Php

I have a single PHP file which makes use of the Google Chart API to draw a graph using an array of values gotten from an XML file. The XML file is at a known location, which will be provide in a call to simplexml_load_file(). I need to have it converted from using the Google Chart API to just using native PHP classes.

The chart contains three data values for each data point. Each value is color coded, so there will be a bar of a different color for the three values, and there will be a number, ranging from about 5 to 30, of these values.

I’m attaching a sample chart that was produced with the Google Charting API.

The PHP file must produce standard JavaScript as its output, as well as a PNG or JPEG file containing the chart and a <img> tag that displays the generated image.

The successful bidder will be provided with a copy of the existing PHP file so they know how to extract the data from the XML file.

Leave a Reply

Your email address will not be published. Required fields are marked *