-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Description
Hi there,
I am trying to create a HTML table within a label callback function.
Within the function we are querying a database based upon the point on the data selected. The query works perfectly as I can document.write(queryanswer) to create my table in a new table.
However when I try to add the table within the tooltip I only get the text and not the formatted html. I think this is because the tooltip is a SVG. I attempted using a foreign object but still no luck.
The only other idea I came across was to use the customtooltip which will allow me to use html but I can not find a way to find the define the variables from the graph for the query.
Is there support for this?
Many thanks in advance