Both simpleEncode() functions (js and php) support a maxValue parameter but your PHP version defaults the max value to the maximum value in your array. As such the PHP version is scaling your data as if it was specified in the 0--61 range.
Your 39 becomes (39 / 43) * 61 = 55 (or s:3) Your 43 becomes (43 / 43) * 61 = 61 (or s:9) etc. If you manually specify the maxValue parameter as 61 you should see the simple encoded values you're expecting. Cheers, K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
