Repository navigation
Introduce tooltip.position callback function - #833
Conversation
to control the position of the tooltip programmatically
f5abea8 to
7062e0a
Compare
Introduce tooltip.position callback function
|
Looks nice. Thank you very much!! |
|
Oh rad! Good to know it can do this now. The documentation definitely needs to be updated to include this! |
|
Thanks a lot, you save my night! 👍 |
|
Is it possible to modify top while leaving left unchanged, or vice-versa, or is it always necessary to recalculate both? |
|
There's just one problem: |
|
If we are using xs in data how to get 'cx' and 'cy' values of point. |
|
This does not work for bar charts. |
|
How this code will work with donut chart? Any Help? |
|
Thanks for the code. This one works for me for line and bar charts. Maybe it is helpful to someone |
|
Can the function be an external file? |
Added a callback function to control the position of the tooltip programmatically to tooltip configuration.
circleelement is given ifgroupedoption is false andregionelement is given if it's true.This callback function allows to show tooltip on the top of the data points like this.

with following configuration.