The hover text does not position correctly when width
is provided for a bar graph
var trace1 = {
x: ['Liam', 'Sophie', 'Jacob', 'Mia', 'William', 'Olivia'],
y: [8.0, 8.0, 12.0, 12.0, 13.0, 20.0],
type: 'bar',
marker: {
color: 'rgb(142,124,195)'
},
width: 0.3
};
Is there a way to position the hover text correctly for such cases?