I read doc about [data_scaling](http://code.google.com/intl/fr-FR/apis/
chart/image/docs/data_formats.html#data_scaling) and i test with
Really Simple Chart Image and choose Text Encoding Format :
http://chart.apis.google.com/chart?chxt=x,y&chxr=0,0,3,1|1,0,600,50&chd=t:0,25,10,15|50,300,80,30&chds=0,600&chco=e0440e,e62ae5&chdl=Courbe+1|Courbe+2&chtt=Titre+Graph&cht=lc&chs=1000x300
Very Nice, It work perfectly! Courbe+2|X:1|Y:300 it is in middle of Y
axis
I try with teh same Data but i choose Extended Encoding Format
http://chart.apis.google.com/chart?chxt=x&chxr=0,0,3,1|1,0,600,50&chd=e:AAFVCIDM,Kq..REGZ&chds=0,600&chco=e0440e,e62ae5&chdl=Courbe+1|Courbe+2&chtt=Titre+Graph&cht=l
c&chs=1000x300
Here the line doesn't draw correctly Courbe+2|X:1|Y:600 instead Courbe
+2|X:1|Y:300 it's really bad... I read in **Data Scaling and Axis
Scaling** section for Scaling with **Extended Encoding Format** this
=> _A more involved method is to manually scale your data to fit
within the range supported by your format._
Ok i transform my data for scaling in 0-4095 Range
a = []; [0,25,10,15,50,300,80,30].each { |v| a << (v * 4095 / 600) }
=> [[0, 170, 68, 102], [341, 2047, 546, 204]]
Youpi I'm new data fited ! I try this with this sample code :
http://chart.apis.google.com/chart?chxt=x&chxr=0,0,3,1|1,0,600,50&chd=e:AAFUCIDM,Kq..REGY&chds=0,600&chco=e0440e,e62ae5&chdl=Courbe+1|Courbe+2&chtt=Titre+Graph&cht=lc&chs=1000x300
unfortunately it's dosen't work, Why ?
Anyone can help me ?
--
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.