Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Victory Charts - tooltip on line chart

Quick question - I have a line chart based on Victory Charts i'd like to display a tooltip on, when someone hovers over the data.

https://formidable.com/blog/2016/09/19/victory-0-12-0-the-one-true-tooltip/

Indicates a 'VictoryVoronoiTooltip' may be helpful.

However, that doesn't appear to be part of the current Victory charts release. I get a 'not found' message during compilation. Further;

https://formidable.com/open-source/victory/guides/tooltips/

enter image description here

Here suggests the same... but clicking the 'VictoryVoronoiTooltip' link gets me a 404.

Any suggestions?

like image 494
Simon Avatar asked Sep 21 '17 15:09

Simon


1 Answers

Was looking for the same thing and came across this example . If you remove the <VictoryLabel /> component, the tooltips appear correctly as you hover over the line. Hope this helps!

like image 188
ces_520 Avatar answered Nov 02 '22 10:11

ces_520