Black Lives Matter. Please consider donating to Campaign Zero's mission of ending police violence in America.
https://www.joincampaignzero.org

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 https://github.com/plotly/plotly.js/issues/53 for the latest developments.