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

Tooltips do not display correctly with version 5.27


Posted by Joachim on 18:56 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 on 20:54 12th February 2021
Hi Joachim,

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

Richard

Posted by Joachim on 11:17 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 on 11:57 13th February 2021
Hi Joachim,

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,

Richard

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

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

Thank you
Have a nice weekend

Posted by Richard on 12:50 13th February 2021
Hi Joachim,

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.

Cheers.

Richard

Post a reply

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