Feature Request: Custom Hover Text / Tooltip Annotation for Charts #35319
jeevallucas
started this conversation in
Ideas
Replies: 1 comment
-
I thought we had something like this, i am not against it as long as there is a big sign saying |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🧩 Problem Statement / Motivation
In many visualization tools, one expects the ability to show custom, user-defined text when hovering over data points (e.g. you hover over a bar, line point, area, or cell, and see a custom message). Currently, Superset’s tooltips or hover info are limited to showing predefined metrics, dimensions, or default metadata. There is no straightforward way to inject arbitrary text or annotation on hover (e.g. explanatory notes, comments, or context-specific messages).
This limitation reduces flexibility when users want to provide additional context, notes, or dynamic messages directly on visualizations without altering the underlying data.
Proposed Solution / Feature Description
Introduce a configuration option (per chart, or per visualization plugin) that allows the dashboard/visualization author to define a custom hover text template or field. Key aspects:
hover_annotation_template
) in the chart’s configuration panel.{{ metric_name }}
,{{ dimension }}
,{{ custom_field }}
) so authors can build contextual hover messages.This feature would be integrated into chart plugins (in
superset-frontend
) and propagate through the metadata and tooltip rendering layer.📐 Scope & Non-Goals
In scope:
Out of scope (for a first version):
🎯 Benefits / Use Cases
Beta Was this translation helpful? Give feedback.
All reactions