I'm using the Visualization API to display charts on a web page, but
now I have to also produce a PDF of those charts, so I'm switching to
using the regular Chart API so I can capture the URL being POSTed and
grab the image that way.  One problem I've run into is that they're
not the same, or don't produce the same results.

For example, the Visualization API can display data numbers right on
the Pie chart itself, whereas, as far as I can tell (and read), the
Chart API doesn't.  Are there any plans on adding this feature to the
Chart API?  Right now it seems only some charts can have data numbers
displayed on them, and Pie chart isn't one of them.

Having said that, has anyone come up with a way to either a) add data
labels onto a Pie chart (and not appended to the legend labels), or
alternatively b) figured out a way to capture the Visualization API's
data and have that available to use?

I'm using PHP to generate the PDF file, and all I have to do is grab
the API's URL and use it:

$imgURL = 'https://chart.googleapis.com/chart?cht=p&chs=...";

$pdf = new myPDF();
$pdf->image($imgURL, $x, $y, $absx, $absy, 'PNG', '');

If I knew what the Visualization API was using as URL to get the
images, I'd use that.  Suggestions anyone?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to