Forum - jschmidt-systemberatung.de
×
php-RGraph and php-rgraph Joomla Content Plugin
Two graphs same page
D
Topic Author
Offline
Fresh Boarder
2 years 1 month ago #1298
by D
Hi,
How can I display two graphs in the same page using Joomla plugin?
I have tried creating 2 different HTML custom fields in CB with each having a different graph getting data from different tables but they overlap in the front end.
Is there a way to solve this?
Thank you
Please Log in or Create an account to join the conversation.
2 years 1 month ago -
2 years 1 month ago #1299
by jochen
Hi,
you must use different chart ids - e.g.
{rgraph ... }cvs_id1{/rgraph}
and
{rgraph ... }cvs_id2{/rgraph}
you may have any number of charts within one single page if you use different chart-ids for them.
Last edit: 2 years 1 month ago by jochen .
Please Log in or Create an account to join the conversation.
D
Topic Author
Offline
Fresh Boarder
2 years 1 month ago #1300
by D
Both graphs disappeared!
One is set as cvs_id1 and the other as cvs_id2
Please Log in or Create an account to join the conversation.
2 years 1 month ago -
2 years 1 month ago #1301
by jochen
hi,
you have a typo : you specified
"cvs _id1" instead of "cvs_id1" - you may not have blanks within chart_id
Last edit: 2 years 1 month ago by jochen .
The following user(s) said Thank You:
D
Please Log in or Create an account to join the conversation.
D
Topic Author
Offline
Fresh Boarder
2 years 1 month ago -
2 years 1 month ago #1302
by D
More than correct!
Problem solved!
Thank you
I have one more question
Although I have added
in an HBar, since my table has 2.016 rows the graph shows 2.500 as the last number on x.
Is there a way to limit this?
Last edit: 2 years 1 month ago by jochen .
Please Log in or Create an account to join the conversation.
Time to create page: 0.274 seconds