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="650" height="300" grouping="stacked" 
scaleDecimals="1" unitsPost="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"
data="csv" csv_parm="php-apps/RGraph/samples/pv_system-201605.csv,9" csv_cols="2,4" variant="3d" textAngle="20" keyBackground="rgba(145,168,238,0.4)" variantThreedAngle="0.06" gutterBottom="70" gutterLeft="60" keyPositionY="20" }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...


Today: 1
Yesterday: 15
This Week: 116
Last Week: 152
This Month: 464
Last Month: 518
United States 35.9% USA
Germany 13.1% Germany
Russia 4.5% Russia
France 3.2% France
Italy 2.6% Italy
Indonesia 2.6% Indonesia
India 2.4% India
Poland 2.3% Poland



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