How to add the title to of x-axis at the start and end

Adding the text on the top of of the x-axis values and at the end of X-axis.

Can any one please advise how can I do it.

Thank you
Venkat

Have you tried using annotations as in https://plot.ly/javascript/text-and-annotations/ ?