Hello, I managed to almost everything i needed with this cool plugin. The only 2 things I cannot change. The first is keyLinewidth="0" I dont want that border, and other values are working, but zero not. The other problem is formating tooltips. I cannot change border, font or background color. I have tried with tooltipscss parametr but without success. Are these parameters working within Joomla plugin? Thank you very much for your advice, danke sehr.
Lukas
will create default "1" - but you may use keyPositionGraphBoxed="0"- if you have the key in graph mode (ie a box), this controls whether it has a border.
To change tooltip-layout you may change "rgraph_tooltips" class in in file "../media/plg_content_rgraph/css/rgraph.css" or you create your own tooltips_class and specify it via plugin-parms (setting of "CSS class for Tooltips" in php_rgraph plugin). Then store in one of your system css-files.
Dear Jochen,
Thank you for your help. Everything is working fine. I have just two more questions. I have combined line graph - 2 lines. One line is green other grey. Is it possible that tooltip for green line will have green background (via css)? I have tried to add a class to this graph but it was not working.
The second question is, why tooltips on one graph work with onmousemove and on the other graph no. Thank you. This is my code:
then define the use of this with parameter "tooltipsCssClass" on your second chart:
tooltipsCssClass="rgraph_tooltips_green"
Ensure that new tooltip css-class is accessible (e.g.reload of css-files are successful)
If you combine charts, it seems that the events of first chart are defaulted (for tooltips this is "click"). You may ask developer of RGraph at
www.rgraph.net/forum/index.html
to explain this behaviour.
Interesting is, that if you omit the key-parameter on second chart, then "mousemove" works on both charts,.
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.