Y axis labels should not truncated and legend should be shown bottom not vertically

1)y axis labels should not truncated if there is less margin it should be completed with ellipses like if there is name like mohanprakashsharma so in this case it should look like this mohanpraka…
2)legend should be shown at bottom (horizantally)not from top to bottom it should be left to right
please help me how to do this task

I agree. We should add a check for long tick labels. In the meantime you customize the axis tick labels using tickvals and ticktext on your independent axis.

Unfortunately, there is no way to make the level horizontal at the moment. Please subscribe to issue Horizontal Legend below the chart · Issue #53 · plotly/plotly.js · GitHub for the latest developments.