Good morning! I'm writing just to let you know that all your advices worked perfectly! I changed the scale of the data, I changed the position (I had to change it to 1.57), and I had to use a pie chart without the 3D effect, taking into account what naven87 said (which I wasn't able to understand at first but I realized what he was saying when I saw the chart after changing the position).
Thank you very much, keithb and naven87! Kisses! Daniela ;-) 2009/1/7 keithb <[email protected]> > > naven87 - good catch on the 3D pie chart display glitch > > Daniela - Regarding your 55% issue, it sounds like you might be using > raw data (200, 600, 200) instead of values that add up to 100 (20, 60, > 20). > > For example, here's a chart with three slices, 20%, 60% and 20% > specified using 20, 60 and 20: http://tinyurl.com/9fmsjj > > Here's a chart using data that doesn't add up to 100 (200, 600, 200) - > you'll see that the chart is NOT correct: http://tinyurl.com/92qvln > > To fix this, you need to tell the API to scale your data (all the data > values should be converted to percentages using the total value 1,000 > [200+600+200]): http://tinyurl.com/6t6n5b > > > Hope that helps, > K > > On Jan 7, 12:46 pm, "Daniela Cugat" <[email protected]> wrote: > > Thank you very much to all of you! Tonight I'll try this and I'll let you > > know how it goes. > > > > Another problem that I'm having with 3d pie charts is that I have all the > > quantities and percentages which seem to be right (the result is 100%), > but > > I look at each piece of the pie, and I note that the percentage is not > > always OK, I mean, I have for example 2 pieces of the pie which would be > 55% > > in total, but they occupy less than half a pie. Do you know if that's a > > google bug? Should I report it to someone? Thank you very much in advance > > again. > > > > Daniela ;-) > > > > PS: Sorry if my english is not so good. > > > > 2009/1/6 keithb <[email protected]> > > > > > > > > > Hi, > > > > > They just added support for this. Take a look at the chp parameter > > > within the pie chart section: > > >http://code.google.com/apis/chart/types.html#pie_charts > > > > > Before: > http://chart.apis.google.com/chart?cht=p&chd=t:80,20&chs=200x100 > > > After: > > >http://chart.apis.google.com/chart?cht=p&chd=t:80,20&chs=200x100&chp=. > .. > > > > > Note, the CHP parameter is specified in radians: 360 degrees = 2 * Pi > > > > > Given that it starts at 3 o'clock, 12 o'clock would be -0.5Pi or 1.5Pi > > > > > Cheers, > > > K > > > > > On Jan 6, 6:47 pm, dcugat <[email protected]> wrote: > > > > I have a pie chart done with google > > > > api, and I need to change the position of data. I mean, data is > > > > ordered but I need it to start from 12 o'clock instead of starting > > > > from 3 o'clock much in advance. > > > > > > Daniela ;-) > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
