Simplify signature of drawTexts in legend
Simplify signature of drawTexts in legend

* Removed unused `i`.

* Passed `legendItem` directly.

etpinard/plotly.js,etpinard/plotly.js,asolagmbh/plotly.js,iongroup/plotly.js,etpinard/plotly.js,aburato/plotly.js,plotly/plotly.js,iongroup/plotly.js,asolagmbh/plotly.js,plotly/plotly.js,plotly/plotly.js,plotly/plotly.js,asolagmbh/plotly.js,aburato/plotly.js,iongroup/plotly.js