A 3d Bar with Data from csv-File

Labels and data for this 3d bar chart is retrieved from a csv file via parameter data="csv". In addition to the parameter for the file name, parameter "9" has been specified because the five data columns start after row 9 (after the csv-header) of the csv-file. Only columns 2 and 4 are used for data. For the use of a background image the canvas style (via parameter"canvas_class") has been modified.

Parameter for creation of chart

{rgraph title="Power Yield PV System in May 2016" width="700" height="450" grouping="stacked" scaleDecimals="1"
yaxisScaleUnitsPost="kWh" key="SMA Sunnyboy 1,SMA Sunnyboy 2" tooltip="#key# <br>#label# #val#kWh <br>Total #total#kWh" x_step="2"
canvas_class="pv-system" keyBackground="rgba(145,168,238,0.4)" keyPositionY="20"
data="csv" csv_parm="php-apps/RGraph/samplespv_system-201605.csv,9,;" tooltipsPositionStatic="false"
csv_cols="2,4" chart_alignment="center" variant="3d" xaxisLabelsAngle="20" marginBottom="130" marginLeft="60"}csv_bar{/rgraph} 

 

[No canvas support]>

 

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: 119
Yesterday: 84
This Week: 119
Last Week: 757
This Month: 2,463
Last Month: 2,684
0156350
United States 33.3% USA
Germany 16.0% Germany
Russia 4.8% Russia
France 3.5% France
Italy 2.5% Italy
Indonesia 2.5% Indonesia
India 2.4% India
Poland 2.2% Poland

Total:

204

countries

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.