Closed
Description
I've found an issue with textposition: auto
when creating a horizontal bar chart.
When a linear axis is used, the text is correctly adjusted to fit into the available bar (see the first "monkeys" bar):
But for a log axis the text is not adjusted:
var data = [
{
y: ['giraffes', 'orangutans', 'monkeys'],
text: ['giraffes', 'orangutans', 'monkeys'],
x: [20, 14, 1],
type: 'bar',
orientation: 'h',
textposition: 'auto',
}
];
Plotly.newPlot('myDiv', data);
Plotly.newPlot('myDivLog', data, {
xaxis: {
type: 'log'
}
});