Welcome Guest Search | Active Topics | Sign In | Register

google chart api Options
mumthinksimcool
Posted: Monday, June 13, 2011 10:04:31 AM
Rank: Newbie
Groups: Member

Joined: 6/13/2011
Posts: 2
Hi

I'm looking to create a ASP.NET web page that shows charts that use the Google Chart API, which renders data dynamically using javascript using VML (for internet explorer), SVG (other browsers) and flash. Which format used is dependent on the chart type and the browser. The page will have an export to PDF function. Will the html to PDF web control support this?

Thanks
eo_support
Posted: Monday, June 13, 2011 10:10:58 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We support SVG, but not Flash. So it should work with all the SVG based charts. If Google can fall back with a static image (such as png or jpg) when Flash is not detected, then it will be fully supported.

Thanks
mumthinksimcool
Posted: Monday, June 13, 2011 10:56:04 AM
Rank: Newbie
Groups: Member

Joined: 6/13/2011
Posts: 2
Hi - thanks for replying

and the fact that the charts are generated via Javascript using data that is found on the same page (ie the HTML tables) - would that be a problem?
eo_support
Posted: Monday, June 13, 2011 11:13:48 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. That would not be a problem. We have a built-in JavaScript engine that handles everything exactly the same as a Web browser. The only difference is currently we don’t allow third party plug-ins, that’s why it won’t do Flash.

You may need to increase HtmlToPdf.Options.MinLoadWaitTime if it takes a while for your script to generate the chart:

http://doc.essentialobjects.com/library/4/eo.pdf.htmltopdfoptions.minloadwaittime.aspx

This property controls the amount of time the convert waits between finishing loading the page and the moment it tries to "capture" the page output. So if it takes a while for your script to generate the chart but you capture the output too early, then the chart won't be there yet.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.