How to trim/reduced the long label in plotly js

image