Text value is clipped for some bars

In the image, Text value of first bar is clipped. ideally it should display 30.71 but the value is clipped.

This is the layout. I am using .
layout = {clickmode: ‘event+select’, title: ‘’,height:500,
yaxis:{automargin:true,layer:true},
responsive:true,
xaxis:{automargin:true,title:‘Patient Count’,showgrid:false},
showgrid:false,legend:{orientation:‘h’,y:-0.3 ,traceorder:‘normal’},
margin:{autoexpand:true},
cliponaxis:false,
autosize:true};

You have cliponaxis:false in the layout, but this is a trace attribute.

Thanks for the reply @etienne. It worked. You saved my life.

1 Like