#INSERT_HEAD #INSERT_HEAD_CSS
<:chartjs:demo_type{type=bar}:>
<chart
|id_chart=barre
|type=bar
|datasets=40,32,50,35 next 20,25,45,42 next 40,43, 61,50 next 33,15,40,22
|labels=Salé,Sucré,Amer,Acide
|dataLabels=poire,pomme,courgette,citron
|width=500
|height=500>
<:chartjs:demo_type{type=line}:>
<chart
|id_chart=ligne
|type=line
|datasets=40,43,61,50 next 33,15,40,22
|labels=Janvier, Février, Mars, Avril0
|dataLabels=patates,poireaux
|width=500
|height=500>
<:chartjs:demo_type{type=pie}:>
<chart
|id_chart=camembert1
|type=pie
|labels=Tôkyô - 東京,Kyoto, Osaka,Chiba,Hiroshima
|data=10,32,50,25,5>
<:chartjs:demo_type{type=doughnut}:>
<chart
|id_chart=anneau
|type=doughnut
|align=right
|data=30,10,55,25,15,8
|labels=Tôkyô - 東京,Kyoto, Osaka,Chiba,Hiroshima
|colors=#69D2E7,#E0E4CC,#F38630,#96CE7F,#CEBC17,#CE4264>
<:chartjs:demo_type{type=polarArea}:>
<chart
|id_chart=polaire
|type=polarArea
|data=40,32,5,25,50,45
|labels=Noix,Amandes,Raisins,Autres sucreries,Salés,Six>
<:chartjs:demo_type{type=radar}:>
<chart
|id_chart=radar45
|type=radar
|datasets=40,43,61,50 next 33,15,40,22
|labels=Précis, Rapide, Joli, Complet, かわい
|colors=#CEBC17,#CE4264>
<:chartjs:demo_type{type=bubble}:>
<chart
|id_chart=bubble
|type=bubble
|datasets=2,5,10 10,7,5 next 15,20,5 ,10,12,15
|dataLabels=poireaux,patates>
<:chartjs:demo_type{type=scatter}:>
<chart
|id_chart=scatter
|type=scatter
|datasets=5,10, 10,0, 15,10 next 5,20, 6,25, 7,20 next 13,20, 14,25, 15,20
|dataLabels=poireaux,patates,piments>
#SET{nb_article,0}
<BOUCLE_articles(ARTICLES)> </BOUCLE_articles>#SET{nb_article,#TOTAL_BOUCLE} </B_articles>
#SET{nb_auteur,0}
<BOUCLE_auteurs(AUTEURS)> </BOUCLE_auteurs>#SET{nb_auteur,#TOTAL_BOUCLE} </B_auteurs>
#SET{data,#GET{nb_article}|concat{",",#GET{nb_auteur}}}
#SET{labels,"Articles, Auteurs"}
[(#MODELE{chart}{id_chart=barrespip,type=bar,datasets=#GET{data},labels=#GET{labels}})]
#SET{data,''}
#SET{labels,''}
<BOUCLE_cours(DATA){source simplexml,http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml?#ENV{date}}{datapath root/children/cube/0/children/cube}{0,30}>
#SET{labels, #GET{labels}|concat{",",#VALEUR{attributes/time}|affdate{d/m/y}}}
<BOUCLE_yen(DATA){source tableau,#VALEUR{children/cube}}>[
(#VALEUR{attributes/currency}|=={JPY}|oui)
#SET{data,#GET{data}|concat{",",#VALEUR{attributes/rate}}
]</BOUCLE_yen>
</BOUCLE_cours>
#SET{data,#GET{data}|substr{1}}
#SET{labels,#GET{labels}|substr{1}}
[(#MODELE{chart}{id_chart=coursduyen,type=line,width=auto,height=auto,datasets=#GET{data},labels=#GET{labels}})]