hed to a fill, you probably want <code>text</code> to be of length 1 for a given trace. On the other hand, if you want to each point along a fill to have a tooltip, you probably want <code>text</code> to have numerous strings.</p>
<p></p>
<div class="sourceCode" id="cb212"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb212-1"><a href="controlling-tooltips.html#cb212-1"></a>p &lt;-<span class="st"> </span><span class="kw">plot_ly</span>(</span>
<span id="cb212-2"><a href="controlling-toolti