DataPointTooltip problem #662
Replies: 3 comments 5 replies
-
I believe you should add a picking distance as a parameter. This example worked for me:
|
Beta Was this translation helpful? Give feedback.
-
Hey and welcome to chart-fx! From the info you provided I cannot see anything wrong, but you are missing the information about which dataset(s) you added to your chart. Since the dataset API is very flexible, there might be some combination that has not been properly tested with the tooltip plugin. What I like to do in these cases is to start from a sample which uses the particular feature and then adapt that by removing everything not needed by my usecase and changing everything that is different to my application and see where it breaks. Feel free to share this modified sample here to help us reproduce the problem and improve the library. |
Beta Was this translation helpful? Give feedback.
-
thanks for your answers, i will try with parameter. In a previous implementation of the same code, but with the old 8.1.5 library, I've used the tooltip without parameter and it worked fine. |
Beta Was this translation helpful? Give feedback.
-
Hi, I've problem with DataPointTooltip in XYChart.
I use this code to enable it:
final DataPointTooltip dataTip = new DataPointTooltip();
chart.getPlugins().add(dataTip);
but no tooltip with data appears.
Current configuration of the project is: jdk 17, javafx 18 and chartfx 11.3.
any suggestion?
thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions