[RGRAPH SUPPORT] Tooltips do not display correctly with version 5.27

Tooltips do not display correctly with version 5.27

Post a reply
Posted by Joachim at 18:56 on 12th February 2021
Hi,
just tried version 5.27 and encountered a problem with tooltips on 3d bar charts. E.g. if you have 10 bars on chart, tooltips will not display on last 3 bars. Firefox debugger does not show any error. Tried with old tooltips.js and without responsive function but behavior did not change. Do you have any clue what goes wrong with V5.27?

Posted by Richard at 20:54 on 12th February 2021
Have you upgraded all of the libraries to version 5.27? And does it make a difference if you hold shift/ctrl down when you click on refresh?

I've made a simple test page which shows a canvas and SVG Bar chart with 10 bars along with tooltips.

The positioning is a bit off for the SVG chart, though that's fixed for version 5.28.

https://codepen.io/rgraph/pen/XWNpmom

Posted by Joachim at 11:17 on 13th February 2021
hi,

I've setup a test to show the problem:

see: http://www.jschmidt-systemberatung.de/plugins/content/rgraph/test527.html

this worked fine with V5.26 tooltips are displaying fast and correctly.

Posted by Richard at 11:57 on 13th February 2021
Can you remove the:

textAccessible: false,

option? This seems to be causing the issue. It works as expected without it. Though I did add this too:

tooltips:Offsety: -10,

Posted by Joachim at 12:24 on 13th February 2021
hi,

This fixed it (either if removed or defined with textAccessible: true).

Thank you
Have a nice weekend

Posted by Richard at 12:50 on 13th February 2021
OK I've fixed the issue so tooltips should be positioned correctly with or without the textAccessible setting enabled.

The fix will be a part of version 5.28 (which all being well should be available at the end of February) so feel free to try that and see if it works for you.

Post a reply

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