Skip to content

HTML Table within Tooltip callback #3734

@azcanada

Description

@azcanada

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions