A combined Chart

This chart combines three charts, a bar chart, a line chart and a pie chart.

To combine these three charts, parameter "combine_chart" is set to "true". This causes that second and third chart are drawn into the same canvas as first chart as all charts use the same id ("cvs").

 

[No canvas support]>

Parameter for creation of chart 1

{rgraph data="Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday/40,50,80,30,40,60,70"
title="A Combined Chart" textAngle="20" variant="glass" colorsSequential="true" tooltip=" #val#€"
tooltipsEvent="onmousemove"  unitsPost=" €"}cvs{/rgraph}   

Parameter for creation of chart 2

{rgraph type="Pie" data="40,50,80,30,40,60,70" combine_chart="1" radius="50" centerx="300" centery="100" 
tooltip="#val#€<br>#percent#% of #total#€" chart_name="chart" tooltipsEvent="onmousemove" 
chart_script="plugins/content/rgraph/js/pie_chart.js"}cvs{/rgraph}  

Parameter for creation of chart 3

{rgraph type="Line" data="400,450,600,300,400,600,700" combine_chart="1" 
tooltip="#val#$" yaxisPosition="right"  tooltipsEvent="onmousemove" ymax="800" unitsPost=" $" numxticks="0"}cvs{/rgraph}   

 

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.
go back...

Visitors

Today: 48
Yesterday: 34
This Week: 82
Last Week: 620
This Month: 1,778
Last Month: 1,635
Total: 220,574
0220574
Germany 29.7% Germany
USA 24.6% USA
France 3.1% France
Italy 2.7% Italy
Indonesia 2.2% Indonesia
Poland 2.0% Poland
Spain 1.8% Spain
India 1.8% India
Netherlands 1.7% Netherlands

Total:

207

Countries

Weather

Weather in Ashburn

22nd March, 2023 - 0:42
Clear Sky
13°C 10°C min 15°C max
12:12 0:22
Humidity: 27 %
Wind: 2.1 km/h South
Pressure: 1,028 hPa
Visibility: 10,000m
We use cookies

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.