Skip to content

Can't make DataPointTooltip work with the samples #638

Closed Answered by wirew0rm
sergiofdezperea asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, thanks for reporting, this seems to have been broken on the 11.3 major release, where the semantic on the renderer.getAxes() list changed slightly from always returning the used axes to only holding the axes explicitly set by the user.

As a quick workaround you can explicitly set the renderer axes to the ones defined in the chart:

renderer.getAxes().addAll(chart.getAxes()); // explicitly set renderer axes until Tooltip Plugin is fixed

This should work for all simple charts that only use a single renderer and get you started while we'll try to figure out how this should best be fixed. Ultimately the plugin should use the same logic that is used by the renderer, but currently these met…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sergiofdezperea
Comment options

@yezhengli-Mr9
Comment options

Answer selected by sergiofdezperea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants