TOOLTIP

Syntax

TOOLTIP( text, tooltip [ , placement ] )

Description

Adds a small tooltip to a text or other markup function results. The placement argument manages the text positioning: top, right, bottom or left. The default value is right.

Argument types:

  • textMarkup | String
  • tooltipMarkup | String
  • placementString

Return type: Markup

Examples

TOOLTIP(SIZE('Hello', '12px'), URL('https://ya.ru', 'Yandex'), 'top')
TOOLTIP([main_text], [tooltip_text])

Data source support

ClickHouse 21.8, Files, Google Sheets, Microsoft SQL Server 2017 (14.0), MySQL 5.7, Oracle Database 12c (12.1), PostgreSQL 9.3, Yandex Documents, YDB.