Graph Foundry
Tooltips and hover feedback
On a chart, expand Tooltips and choose Display > Off, Header or Floating. Header retains the fixed detail line above the chart. Floating reclaims that header space and creates a reusable runtime-only panel on the root Canvas. Assign the chart's TMP font, or an optional tooltip font override. The panel does not receive raycasts and is not clipped by a chart's Mask/RectMask2D. Its position flips and clamps inside the root Canvas in Overlay, Camera and World Space modes.
Choose cursor following or a data anchor, then adjust offset, hover delay, fade, background/text colours, font size, padding, corner radius and maximum width. Long content wraps; very small canvases constrain its height and may ellipsize. Off hides the detail UI without disabling data click events or hover effects. Older charts/styles retain their previous header visibility. The old showDetails field remains a compatibility switch for Header; new code should set tooltipMode explicitly.
Content switches control category/name, series name, value and suffix. Pies can include their automatically calculated percentage; radar can include the effective axis limit. Data is literal text and cannot inject TMP markup. An empty combination of fields hides the panel. Header text uses the chart's normal label styling; floating styling is independent. Embed in my UI hides tooltips along with background/key; re-enable Floating afterwards if wanted.
Multiple-line charts have All series at category: hover anywhere inside the plot to read every line at the nearest category, with an optional vertical guide and emphasis on all its points. Moving between series in that category keeps the delay stable. Other bar/line charts can enable Nearest category to inspect data throughout the plot, including gaps and space away from small markers. Off preserves precise bar/point picking. Radar uses its point targets; pies use their slices. The public HitTest remains a geometry/point test; the larger inspection area is used by pointer interaction.
With Click / tap to pin, a valid click/tap displays the tooltip immediately and holds it when the pointer leaves. Click/tap the same item again, click empty chart margin, or inspect another chart to dismiss it. Each valid click still emits the normal item/series events. A Canvas shows one chart's floating tooltip at a time. Select a chart and use arrows to navigate, with Submit preserving the click events. Keyboard selection uses a data anchor and bypasses mouse delay. A Unity Event System, Graphic Raycaster and an input module matching the project are needed for pointer input; Receive pointer input must be enabled on the chart.
Hover effects controls duration, selected-data brightening and dimming of other data. Bars grow only across their category slot, keeping values, zero baselines and stacked joins fixed. Pies lift the selected slice outward and keep its connector/inside label attached. Line/radar points can grow and show a soft halo; strokes can brighten. Zero duration gives immediate feedback; effects can be disabled entirely. Animation uses unscaled time, settles at rest, and never edits RectTransform scale or data on the chart. Dense charts restrict halo geometry to the current category. Existing serialized styles retain immediate feedback without new geometric motion until configured.
The marketing Graph Foundry Gallery is now interactive in Play mode: all eleven charts have floating tooltips, generous inspection areas and hover effects. Its Animate values toggle demonstrates smooth random changes through the public value APIs; turning it off restores the starting data. This is a private gallery demo driver, outside product exports. Its three rounded-artwork examples also have a small sample-only scale response. Idle PNG exports keep the clean screenshot composition; the cover scene stays static.
var appearance = chart.Appearance;
appearance.tooltipMode = GraphTooltipMode.Floating;
appearance.tooltipSharedLine = true; // Multiple-line category comparison.
appearance.tooltipFollowCursor = false;
appearance.hoverDuration = 0.14f;
chart.Appearance = appearance;
// chart.TooltipFont = myFont; // Optional override; otherwise uses chart.Font.