Flashchart Sample 10

Usage for "chart_colors"

Also have a look at all defined parameters..

Chart Parameter: {flashchart data="CDU,SPD,Grüne,Linke,Sonstige,FDP,Piraten/36,30,14,7,4,3,6"
tooltip="#percent# of votes" width="90%" type="pie" chart_colors="000000,DC143C,228B22,B22222,0000CC,FFCC00,FF3300" alpha="1.0" height="320" title="If the election were next sunday,<br /> which party would you vote for?" dimension="%" bg_image="/plugins/content/flashchart/images/pb.jpg"}pb002{/flashchart}

Notes: With parameter "chart_colors" following colors for chart elements have been defined explicitly:

chart_colors="000000,DC143C,228B22,B22222,0000CC,FFCC00,FF3300"

These colors are used sequentially one after another for every slice of pie chart. Means first data value ("36" - sclice "CDU") gets color "000000" (black), second ("29" - slice "SPD) gets "DC143C" (red), and so on...
You may try out this sample with only changing type="pie" to type="bar_dome"...

 Important: If you want to test this sample via copy/paste, ensure that you paste with option "paste as plain text" otherwise imbedded html-codes may invalidate your input.

back...

Visitors

Today: 16
Yesterday: 16
This Week: 117
Last Week: 112
This Month: 239
Last Month: 579
0146919
United States 35.4% USA
Germany 13.3% Germany
Russia 4.7% Russia
France 3.3% France
Indonesia 2.6% Indonesia
Italy 2.6% Italy
India 2.4% India
Poland 2.2% Poland

Total:

204

countries
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
Ok