Labels and data for this line chart are retrieved from a csv file via parameter data="csv". In addition to the parameter for the file name, parameter "1" has been specified because data columns start after row 1 (after the csv-header) of the csv-file. Only column 4 is used for data (defined via parameter: csv_cols="4").

Parameter for creation of chart

{rgraph type="Line" width="700" height="350" title="DAX30 one Year Performance" data="csv" csv_parm="php-apps/RGraph/samples/dax30_historic.csv,1" csv_cols="4" x_step="12" xaxisLabelsAngle="35" backgroundGridAutofit="false" yaxisScaleMin="12000" yaxisScaleMax="17000" marginLeft="50" reverse_csv="1" 
xaxisTickmarksCount="12" yaxisScaleDecimals="0" tooltip="#label#<br>#val# Points" tooltipsEvent="onclick" scaleDecimals="0" crosshairs="false" xaxisLabelsOffsety="2" trendline="1" trendlineLinewidth="2" trendlineDashed="1" trendlineColors="#008000"}cvs{/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: 65
Yesterday: 23
This Week: 297
Last Week: 302
This Month: 187
Last Month: 1,887
This Year: 7,439
Total: 240,032
0240032
Germany 31.0% Germany
USA 22.7% USA
France 3.3% France
Italy 2.7% Italy
Indonesia 2.1% Indonesia
Poland 2.0% Poland

Total:

209

Countries

Weather

Weather in Dublin

4th May, 2024 - 11:18
Broken Clouds
69°F 66°F min 72°F max
6:27 20:30
Humidity: 89 %
Wind: 4.0 mph South-East
Pressure: 1,018 hPa
Visibility: 32,808 ft
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.