title

fun title(template: String): layerTooltips

Specifies the string template to use as a title in the multi-line tooltip.

Parameters

template

A line template to add the tooltip title. The specification rules are the same as for the lines() function: variables and aesthetics can be used in the template. The resulting string will be at the beginning of the general tooltip, centered and highlighted in bold. A long title can be split into multiple lines using \n as a text separator.