You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the bar chart when there are vastly different values (0, 10 and 200 000 000), the text for 0 and small values won't be displayed.
I need the textposition to be set to auto because on mobile I hide the Y axis labels and put them in the trace.text:
if I set it to inside and the bar is small the text will be crammed in there and will not be readable. And because we are on mobile, and the differences in values are very big, the bar will also be too small to touch it to see the hovertemplate;
if I set it to outside and the bar is too big, the text will be outside of the viewport. Note that I use cliponaxis: false, but being on mobile means that the viewport is too small.
and I can't set the range of the X axis because I use a grouped bar chart with slider and how do you even do that ?
The most simple approach is for textposition: "auto" to display everything and to behave just like it does now.
I am unable to use annotations because I am using a grouped bar chart with slider and it has this issue: #6543
The text was updated successfully, but these errors were encountered:
GeorgeFlorian
changed the title
BUG: Small values aren't displayed on Bar Chart
BUG: Small values aren't displayed on Bar Chart; textposition: outside isn't taken into account by automarginMar 30, 2023
GeorgeFlorian
changed the title
BUG: Small values aren't displayed on Bar Chart; textposition: outside isn't taken into account by automargin
BUG: Small values aren't displayed on Bar Chart
Mar 30, 2023
GeorgeFlorian
changed the title
BUG: Small values aren't displayed on Bar Chart
BUG: 0 and small values aren't displayed on Bar Chart when textposition is set to autoMar 30, 2023
On the bar chart when there are vastly different values (0, 10 and 200 000 000), the text for 0 and small values won't be displayed.
I need the
textposition
to be set toauto
because on mobile I hide the Y axis labels and put them in thetrace.text
:inside
and the bar is small the text will be crammed in there and will not be readable. And because we are on mobile, and the differences in values are very big, the bar will also be too small to touch it to see thehovertemplate
;outside
and the bar is too big, the text will be outside of the viewport. Note that I usecliponaxis: false
, but being on mobile means that the viewport is too small.The most simple approach is for
textposition: "auto"
to display everything and to behave just like it does now.Here is a minimal example:
https://codepen.io/bleah1/pen/dyqLmvN
I am unable to use annotations because I am using a grouped bar chart with slider and it has this issue: #6543
The text was updated successfully, but these errors were encountered: