====== Diagramme ====== Es können viele verschiedene Diagrammtypen erzeugt werden. Dazu wird die [[http://code.google.com/intl/de-DE/apis/chart/docs/making_charts.html|Google-Chart API]] benutzt. {{http://www.hongkiat.com/blog/wp-content/uploads/googlechart.png?600}} Hier die Parameter für das Diagramm angeben. ===== Beispiele: ===== ==== Tortendiagramme: ==== cht=p chs=280x100 chd=t:10,20,30,40 chds=0,100 chl=May|June|July cht=p chs=280x100 chd=t:10,20,30,40 chds=0,100 chl=May|June|July cht=p3 chs=200x90 chd=t:10,20,30,40 chco=FF0000|00FF00|0000FF cht=p3 chs=280x100 chd=t:10,20,30,40 chds=0,100 chl=May|June|July ==== Balkendiagramme ==== cht=bvs chd=s:YUVmw1 chco=FF0000|00FF00|0000FF chs=180x150 chtt=Site+visitors+by+month|January+to+July chbh=22,4 chxt=x,y,r,t cht=bhs chd=s:EUjVu chco=76A4FB chls=2.0 chs=200x190 chxt=x,x,y,y cht=bvs chd=s:c9ucD chls=2.0 chs=250x125 chxl=1:%7CMartinis%7C3:%7CScore chxp=1,50%7C3,50 ==== Kurven ==== cht=lc chd=s:Uf9a,a3fG chs=250x100 chl=1%7C2%7C3%7C4 chf=bg,s,e0e0e0 chco=000000,0000FF chma=20,20,20,30%7C80,20 chdl=Temp%7CSales chxt=x,x,y,y cht=lc chd=s:cEAELFJHHHKUju9uuXUc chco=76A4FB chls=2.0 chs=200x125 chxl=1:|Freezing|Hot|3:|Low|High chma=40,20,20,30 cht=lxy chs=200x125 chd=t:10,20,435,80,90,95,99|20,30,40,50,60,70,80|-1|5,10,22,35,85 chco=3072F3,ff0000,00aaaa chls=2,4,1 chm=s,000000,0,-1,5|s,000000,1,-1,5 chdl=Ponies|Unicorns&chdlp=t ==== Gauge ==== chs=200x125 cht=gom chd=t:70 chco=FF0000,FF8040,FFFF00,00FF00,00FFFF,0000FF,800080 chxt=x,y chxl=0:|Groovy|1:|slow|faster|crazy" chs=150x100 cht=gom chd=t:20,40|60 chls=3|3,5,5|15|10 cht=r chxt=y,x chls=4 chco=CC3366 chs=300x300 chts=000000,20 chxr=0,0.0,100.0 chd=t:80,49,48,78,59,80 chtt=Average+Student+Scores chxp=0,0,20,40,60,80,100 chxs=0,000000,12|1,000000,12 chxl=1:|Maths|Arts|French|German|Music chm=s,CC3366,0,-1,12,0|s,FFFFFF,0,-1,8,0 \\ ==== Latex geht auch ==== cht=tx chl=NH_K(M)=\left[\sum_{i=1}^{n/2}\left(\left( m_{2i-1}+k_{2i-1}\right) mod 2^w\right)\cdot\left(\left(m_{2i}+k_{2i}\right) mod 2^{w}\right)\right]mod 2^{2w} \\ cht=qr chs=200x200 chl=Dan+ist+der+beste choe=UTF-8 chld=H|4 \\ cht=map:fixed=-60,0,80,-35 chs=600x350 chld=CA-BC|CN|IT|GR|US-UT chdl=Vancouver|Beijing|Torino|Athens|Salt+Lake+City chco=B3BCC0|5781AE|FF0000|FFC726|885E80|518274 chtt=Last+Five+Olympic+Hosts chm=f2010+Winter,000000,0,0,10 f2008+Summer,000000,0,1,10 f2008+Winter,000000,0,2,10,1,:-5:10 f2004+Summer,000000,0,3,10 f2004+Summer,000000,0,4,10 chma=0,110,0,0 \\ chst=d_fnote_title chld=pinned_c|1|004400|l|Joe's|Today+2-for-1+!|555-1234 \\ chst=d_fnote chld=thought|1|0088FF|h|Why+am+I+here? cht=gv:neato chl=digraph{A->B->C->A} chs=150x150 \\ cht=v chs=200x100 chd=t:100,80,60,30,30,30,10 chco=FF6342,ADDE63,63C6DE chdl=A|B|C \\ chst=d_weather chld=taped_y|sunny|Barcelona|max+25%C2%B0C|min+15%C2%B0C