Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Latest commit

 

History

History
10 lines (7 loc) · 237 Bytes

updating-tooltip-content.md

File metadata and controls

10 lines (7 loc) · 237 Bytes

API Documentation ➤ Updating tooltip content

Updating tooltip content

tip.html([content])

Set or get a tip's HTML content.

var tip = d3.tip().html(function(d) { return "<span>" + d + "</span>" })