When drawing a scatter plot with
{ mode: 'lines+markers+text', fill: 'tonexty' }
or
{ mode: 'lines+markers+text', fill: 'tozeroy' }
the text of the first point and the last point is cut off:

JSFiddle: https://jsfiddle.net/sd7drgph/