hover: move text logic into function getHoverLabelText()
hover: move text logic into function getHoverLabelText()

plotly/plotly.js,aburato/plotly.js,etpinard/plotly.js,plotly/plotly.js,plotly/plotly.js,etpinard/plotly.js,aburato/plotly.js,etpinard/plotly.js,plotly/plotly.js