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:


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.



Today: 5
Yesterday: 169
This Week: 403
Last Week: 678
This Month: 2,111
Last Month: 2,510
United States 30.7% USA
Germany 19.1% Germany
Russia 4.4% Russia
France 3.4% France
Indonesia 2.6% Indonesia
Italy 2.6% Italy
India 2.2% India
Poland 2.1% Poland
Spain 2.1% Spain




We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.