Adding tooltips to data points #495
-
Hi, I would like to add tooltips to individual data points. In raw JFX Charts, I've been doing it as follows:
What would be the equivalent of this in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, take a look at our samples, for example the Hope this helps, Alex |
Beta Was this translation helpful? Give feedback.
Hey,
take a look at our samples, for example the
MultipleAxesSample
which shows how to use theDataPointTooltip
plugin. Your approach does not work because chartfx doesn't instantiate a node for each data point for performance reasons but instead uses the Graphics context directly. If you need to customise the tooltip, you can do so by overriding the default Implementation.Hope this helps,
Alex