Setter for textDir.
Users shouldn't call this function; they should be calling set('textDir', value)
| Parameter | Type | Description |
|---|---|---|
| textDir | String |
Connect the setter of textDir legend to setTextDir of the chart, so _setTextDirAttr of the legend will be called after setTextDir of the chart is called.