Sliding tooltips on the canvas charts
Written by Richard Heyes, RGraph author, on 9th October 2021
The svg
charts have, since their inception, had sliding
tooltips. In my opinion, these look nicer than the
standard canvas
tooltips - which "jump"to the new
location.
Well hold to your hats, because the canvas
charts now
have - sliding tooltips!
They operate in much the same way as the svg
sliding
tooltips and this effect is now the default. That
means that if you upgrade your canvas
libraries and
your chart has tooltips, you'll get the sliding effect instead
of the fade effect by default.
If you don't like it then you can just set the
tooltipsEffect
property to fade
in your chart's configuration.
To see an example of the fade effect you can see it on the SVG Bar chart documentation page.