Function: splitExtra()
ts
function splitExtra(text): object;Experimental
Split a hover text into the main label and the <extra> box: extra is undefined when the template has no <extra> tag (the trace name is shown), '' when the box must be hidden.
Parameters
| Parameter | Type |
|---|---|
text | string |
Returns
object
| Name | Type |
|---|---|
extra | string | undefined |
text | string |