Forum - jschmidt-systemberatung.de

× php-RGraph and php-rgraph Joomla Content Plugin

Is this possible with php-rgraph ?

  • Edfel
  • Topic Author
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago #1562 by Edfel
Is this possible with php-rgraph ? was created by Edfel
Hi jochen:
After browsing the samples, I think this type of chart will fit one my uses.  www.jschmidt-systemberatung.de/index.php...9&Itemid=652&lang=en

But I will need to graph 5 keys instead of two as well as five data arrays.   Question is that possible?  Case is elections results five political parties and want to show historic results. X axis will be like 2012, 2016 etc and instead of John and Mary > A, B, C, D.,E.

BTW, would like to check the CSV format, Could you provide the pv_system-201507.csv file? Have lot of data to process and having a look into the csv file will help a lot.

Thank you!!

Edfel
 

Please Log in or Create an account to join the conversation.

  • jochen
  • Administrator
  • Administrator
More
1 year 1 month ago #1563 by jochen
Replied by jochen on topic Is this possible with php-rgraph ?
hi,

with php-RGraph you would set the key like this:
$options->set_option("key", array("a","b","c","d"));
dowload csv-file via www.jschmidt-systemberatung.de/php-apps/...pv_system-201605.csv
The following user(s) said Thank You: Edfel

Please Log in or Create an account to join the conversation.

  • Edfel
  • Topic Author
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago #1564 by Edfel
Replied by Edfel on topic Is this possible with php-rgraph ?
Hi jochen:
Thank you! One more question, How about  the Joomla plugin code for this chart:   www.jschmidt-systemberatung.de/index.php...9&Itemid=652&lang=en

Appreciated!

Edfel

Please Log in or Create an account to join the conversation.

  • jochen
  • Administrator
  • Administrator
More
1 year 1 month ago - 1 year 1 month ago #1565 by jochen
Replied by jochen on topic Is this possible with php-rgraph ?
hi,
try this
{rgraph title="A Simple Barchart" data="Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday/40,50,80,30,50,60,70" colorsSequential="true" tooltip="#val#" height="250" variant="glass"}bar_chart{/rgraph}
you would define keys with
... key="a,b,c,d,e" ...
Last edit: 1 year 1 month ago by jochen.

Please Log in or Create an account to join the conversation.

  • Edfel
  • Topic Author
  • Fresh Boarder
  • Fresh Boarder
More
1 year 3 weeks ago - 1 year 3 weeks ago #1566 by Edfel
Replied by Edfel on topic Is this possible with php-rgraph ?
Jochen:
My CSV skills are limited.  Please check if you can, the attached csv file.  It includes the data I want to graph in Joomla.  I guess will need to work with arrays.  Variables are 1) Election years (1996, 2000, 2004, etc) X axis, Votes (Y Axis) and Political Party (a,b,c,d,e keys). 

Altough if the rgraph Joomla plugin could read the file (with minimal editing) will be much  better.

Will appreciate a lot your help. You being very kind.

Edfel 
 

File Attachment:

File Name: barcelonet...0-14.zip
File Size:0 KB

 
Last edit: 1 year 3 weeks ago by Edfel.

Please Log in or Create an account to join the conversation.

  • jochen
  • Administrator
  • Administrator
More
1 year 3 weeks ago #1567 by jochen
Replied by jochen on topic Is this possible with php-rgraph ?
hi,
majarproblem is your csv-file. You should swap rows with columns.

e.g.
year pnp ppd pip
1992 680 464 643 33
c

Please Log in or Create an account to join the conversation.

Time to create page: 0.577 seconds
Powered by Kunena Forum
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.