ives/tooltip-style.html" />
<p class="caption">
FIGURE 25.11: Using the <code>hoverlabel</code> attribute to customize the color and font of the tooltip.
</p>
</div>
<p></p>
<p>On the other hand, when using <code>ggplotly()</code>, you have to modify the <code>hoverlabel</code> attribute via <code>style()</code> as shown in Figure <a href="controlling-tooltips.html#fig:tooltip-style-ggplotly">25.12</a></p>
<div class="sourceCode" id="cb222"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb22