Format hover text for use in plotly interactive plots. The labels are wrapped to multiple lines if exceed the width of the plotly hover box, e.g. in case labels for points with same x/y coordinates overlap, and corresponding labels are truncated.
formatHoverText(x, label, width = 50)
String with formatted hover label.
Vector with hover text information.
Label for the variable
Integer, number of characters at which the hover text should be cut at to multiple lines.
Laure Cougnaud