Marcus, Thanks for the tip. I tried text encoding with data scaling and was able to get what I wanted (almost). Here's my sample code: <http://chart.apis.google.com/chart? chs=500x300&cht=lc&chd=t: 130.5,100,85,77,60.5&chds=0,131&chxt=x,y,r&chxr=0,2004,2008,1| 1,0,131,20|2,0,131,20&chm=o,4D89F9,0,-1,8|N*f1*,787878,0,-1,11> What I want to accomplish next is change y-axis scale based on the scaled data. For instance, if I change the range for y-axis to 50 to 131, my graph appears to be messed up. <http://chart.apis.google.com/chart?chs=500x300&cht=lc&chd=t: 130.5,100,85,77,60.5&chds=0,131&chxt=x,y,r&chxr=0,2004,2008,1| 1,50,131,20|2,50,131,20&chm=o,4D89F9,0,-1,8|N*f1*,787878,0,-1,11> Do you have any additional tips?
In addition to the y-axis range, I also want to add gridlines. I used "chg=20,20,6,6" but the grids appear to be hardcoded with the data before scaling. I tried the offset as well but no luck. <http://chart.apis.google.com/chart?chs=500x300&cht=lc&chd=t: 130.5,100,85,77,60.5&chds=0,131&chxt=x,y,r&chxr=0,2004,2008,1| 1,0,131,20|2,0,131,20&chm=o,4D89F9,0,-1,8|N*f1*, 787878,0,-1,11&chg=20,20,6,6> Any tip you can provide is greatly appreciated. On Sep 26, 2:49 am, Marcus Bointon <[email protected]> wrote: > On 25 Sep 2009, at 19:44, Met_Apps wrote: > > > 1. Creating a time-series for a data data set (real numbers) above > > 100. > > You need to scale your numbers to fit the encoding. Whether numbers > happen to fit the various encoding sizes doesn't really matter - it's > all just about resolution really. Then you just set your axis scale to > your real numbers and all will look right. > > Marcus > -- > Marcus Bointon > Synchromedia Limited: Creators ofhttp://www.smartmessages.net/ > UK resellers of i...@hand CRM solutions > [email protected] |http://www.synchromedia.co.uk/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
