Hi Bill.

The basic text input method for the image charts API is bounded for the
numbers 0-100 as specified in the docs:
http://code.google.com/apis/chart/docs/data_formats.html#text

<http://code.google.com/apis/chart/docs/data_formats.html#text>Please take a
look there in order to pass other formats or change the scales of your data.

Hope this helps,
  Viz Kid

On Fri, Apr 23, 2010 at 2:01 AM, bill walton <[email protected]> wrote:

> Greetings!
>
> I just started using the API and I love it.  Totally awesome.  I really
> appreciate all the work that's been done and hope to be able to
> contribute some back in the near future.
>
> I work in Rails and picked up the GC4R plugin.  Again, awesome.  I've
> added rotation to the 3D pie chart and a separate parameter for labels
> vs. legends.  I don't know the author and I haven't found any way to
> contact him to see if he's taking contributions.  If he's here or anyone
> knows how to contact him I'd appreciate being put in contact.  I'm at
> bwalton dot im at gmail dot com.
>
> Now on to the primary reason for my email.  Perhaps it's a feature that
> I just haven't found documented, but past a certain 'threshold' the
> slices in a 3D pie chart stop rendering properly; that is, in correct
> proportion.
>
> Using one of the examples from the documentation...
>
> The original renders proportions correctly:
>
> http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World
>
> Adding a third parameter renders proportions correctly:
>
> http://chart.apis.google.com/chart?cht=p3&chd=t:60,40,100&chs=250x100&chl=Hello|World
>
> Increasing the value of the third parameter renders proportions
> incorrectly:
>
> http://chart.apis.google.com/chart?cht=p3&chd=t:60,40,110&chs=250x100&chl=Hello|World
>
> It appears to me that the threshold is a function of the total of the
> parameters.  Divide each by 10 and the proportions are rendered
> correctly.
>
> http://chart.apis.google.com/chart?cht=p3&chd=t:6,4,11&chs=250x100&chl=Hello|World
>
> The threshold appears to 'hit' when the total of the parameters in this
> example reaches 200.  I haven't had time to experiment on larger numbers
> of datasets to find their threshold, but it appears to me so far that
> the threshold is at least partially a function of the number of
> datasets.  I have a 6-slice pie that reaches it's threshold much later
> than 200, though I haven't had time to find out exactly what the number
> is.
>
> I thought I would write first and find out if this behavior is a design
> feature and there's some documentation I should read in order to program
> to the API correctly.  If so, I'd appreciate being pointed.  If not, let
> me know if I can assist in isolating the nature of the problem more
> exactly.
>
> Again, thanks very much to the Google team for this awsome library.  I
> expect to make much use of it.
>
> Best regards,
> Bill
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization 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-visualization-api?hl=en.

Reply via email to