Doc forthcoming?

9 views
Skip to first unread message

Ben

unread,
Aug 26, 2011, 3:44:53 AM8/26/11
to Google Visualization API
Pie chart documentation looks right at first sight, including
configuration options and stuff. But at second sight I think it it
completely unclear on how for example configurations options can be
used. So although documented one would still be unable to use the
configuration options, even when looking at examples because it is
completely unclear what the signature is of for example of the draw
method. Do you need to pass options there? How?

Easy tasks become hard to the point of making the API unusable. For
example. How to make the background transparent (why is not
transparent in the first place)? Google for it, read pie chart
documentation and come up with absolutely nothing useful.

asgallant

unread,
Aug 26, 2011, 11:01:54 AM8/26/11
to google-visua...@googlegroups.com
The charts are rather thoroughly documented (although errors do occasionally crop up).  Since you bring up Pie Charts, I'll use them as an example:

Create a DataTable as documented here:

Pie Charts require data to be presented as two columns, as documented here:

If all of this isn't clear, there is the visualization playground here:
which allows you to experiment with the API and figure out how all the API's components work together.  If that still doesn't help you, then perhaps we can offer some assistance.

There are some things that the API cannot do, and AKAIK, making the background transparent might be one of them.  Some limitations can be hacked around, others cannot (at least, not easily).

Jinji

unread,
Aug 28, 2011, 1:38:20 PM8/28/11
to google-visua...@googlegroups.com
On Fri, Aug 26, 2011 at 10:44 AM, Ben <onno.van.d...@gmail.com> wrote:
Pie chart documentation looks right at first sight, including
configuration options and stuff. But at second sight I think it it
completely unclear on how for example configurations options can be
used. So although documented one would still be unable to use the
configuration options, even when looking at examples because it is
completely unclear what the signature is of for example of the draw
method. Do you need to pass options there? How?

Easy tasks become hard to the point of making the API unusable. For
example. How to make the background transparent (why is not
transparent in the first place)?

As for your "why isn't it transparent by default" question, it's because we couldn't make transparent work for IE...

Google for it, read pie chart
documentation and come up with absolutely nothing useful.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Reply all
Reply to author
Forward
0 new messages