There are two points I'd make. First simple encoding gives you values 0 thru 61 so your &chd=s:9ffSx9 translates to 61,31,31,18,49,61. Then with &chm=N*cEUR1*, 000000,0,-1,11 you want data point labels in euros so it 'translates' your data using 61 to match 100 cents since it is your highest value. So the full translation is 100, 50.82, 50.82, 29.51, 80.33, 100. Really simple encoding is just not going to work very well for you since you really want values 0 to 100 so text encoding would be better.
The second point to make is that this part of your chm parameter - cEUR1 - implies currency of Euro to 1 decimal place. Try experimenting using cEUR0, cEUR1, and cEUR2 to see what I mean. On Apr 19, 3:44 am, anythingr <[email protected]> wrote: > When I enter data as text, the label is correct, but if I use either > simple or extended encoding the label appears with an extra decimal > place that is wrong. > > I've converted the data back and forth and it looks correct. > > For data series: > 100 50 50 29 80 100 > > Encoded: > s:9ffSx9 > > The labels appear as: > 100 50.8 50.8 29.5 80.3 100 > > This is url that I'm > using:http://chart.apis.google.com/chart?chs=200x125&cht=bvs&chd=s:9ffSx9&c... > > Any ideas what I'm doing wrong? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
