TOOLTIP
Written by
Updated at March 5, 2025
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:
text
—Markup | String
tooltip
—Markup | String
placement
—String
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
.