Tootips do not close if the slide effect is used - Official RGraph support forum

Tootips do not close if the slide effect is used

Post a reply
Posted by Joachim at 12:47 on 29th October 2021
hi,

just installed and tried v6.04. When using the default for tooltipsEffect "slide" tooltips do not close anymore once they have opened. What is the problem?

Posted by Richard at 13:09 on 29th October 2021
Can you post a link to the page in question? What happens if you set the tooltipsEffect property back to "fade"? Is there any error message in the error console?

Posted by Joachim at 16:58 on 29th October 2021
hi,
I've set (programmatically) default to fade. This sample uses "slide": https://www.jschmidt-systemberatung.de/index.php?option=com_content&view=article&id=212&Itemid=659&lang=en
(if you look at html-source you will find the setting of chart)

Posted by Joachim at 17:12 on 29th October 2021
hi,
I've set (programmatically) default to fade. This sample uses "slide": https://www.jschmidt-systemberatung.de/index.php?option=com_content&view=article&id=212&Itemid=659&lang=en
(if you look at html-source you will find the setting of chart)

Posted by Richard at 18:56 on 29th October 2021

Well, the problem appears to be the RGraph scripts that you're using:

<!-- I commented out these scripts -->
<!script src="https://www.jschmidt-systemberatung.de/media/plg_content_rgraph/js/php-rgraph.common.js" type="text/javascript"></script>
<!script src="https://www.jschmidt-systemberatung.de/media/plg_content_rgraph/js/RGraph.bar.js" type="text/javascript"></script>

<!-- And added these instead -->
<script src="/libraries/RGraph.common.core.js"></script>
<script src="/libraries/RGraph.common.dynamic.js"></script>
<script src="/libraries/RGraph.common.tooltips.js"></script>
<script src="/libraries/RGraph.bar.js"></script>

(Which are the JS libraries on my own website)

And it seems to be OK. Could it be that you didn't upgrade all the scripts to v6.04?

Posted by Joachim at 11:52 on 30th October 2021
hi,
found the problem (thanks for your hint). I've setup a "common" lib containing:
        "core",
        "tooltips",
        "dynamic",
        "effects",
        "key",
        "keyinteractive",
        "contextmenu",
        "csv",
        "annotate"
I had to remove lib "RGraph.common.annotate.js" as it caused the problem. Now option "slide" works fine.

Post a reply

What's your name?
What do you want to say?