Forum - jschmidt-systemberatung.de

× php-RGraph und php-rgraph Joomla Content Plugin

Example csv file

  • Gerlof Koopmans
  • Autor
  • Besucher
  • Besucher
2 Jahre 1 Monat her #1291 von Gerlof Koopmans
Example csv file wurde erstellt von Gerlof Koopmans
(It looks my post is not being saved, 3d try)

Hi!
First thanks for your nice plugin :)
I try to prepare a csv-file that showa the same graph when using the details below, but I am getting an error.
How should the csv-file have to look in order to show the graph?
I could not find an answer in the manual.

{rgraph width="800" height="400" grouping="grouped" yaxis="true" shadow="true" backgroundColor="#fff" variant="hbar" tooltipsEvent="mousemove" title="Verbruik gas" labelsAbove="true" labelsAboveSize="8" tooltip="#label# #key# - #val#"  key="2020,2021,2022" data="jan,feb,mar,apr,mei,.jun,jul,aug,sep,okt,nov,dec/20,10,0,30,50,40,50,60,70,80,90,60|99,100,80,120,125,130,109,120,100,130,140,100|75,65,55,85,95,45,25,15,55,85,65,95"}Gasverbruik{/rgraph}

Maybe you can give a hint :)
Regards
Gerlof

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 1 Monat her - 2 Jahre 1 Monat her #1292 von jochen
jochen antwortete auf Example csv file
hi,

you should use standard csv-layout e.g. (sep char ";:" (colon)

;some header info:
jan;123;456;678
feb;234;567;890
mar;456;446;765

via plugin you would then specify:

data="csv" csv_parm="mydir/file.csv, 1"  csv_cols="1,2,3"
csv_col=0 contains the lables (jan, feb, mar)

you may look at my doc: www.jschmidt-systemberatung.de/index.php...6&Itemid=659&lang=en

see "parameters -> plugin parameter -> define data for chart (esp. "csv" stuff)
Letzte Änderung: 2 Jahre 1 Monat her von jochen.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.210 Sekunden
Powered by Kunena Forum
Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbesssern. Auf keinen Fall werden persönliche oder vertrauliche Daten gespeichert oder weitergegeben.