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
For bar charts with category-labeled x axes, Plotly automatically computes an x-axis range based on the number of bars in the chart, which seems to be [-0.5, numBars - 0.5]. The chart doesn't render properly if one of the range endpoints happens to be equal to a category name. In the following example, the graph is cut off with the bar labeled '2.5' being partially out of frame and the bar labeled '3.0' not rendering at all: https://codepen.io/mmichelsen/pen/LYpebKj
If you change '2.5' to anything other than '-0.5' or '2.5', the graph renders properly.
The text was updated successfully, but these errors were encountered:
Hi, i am having exactly the same issue describe above.. Is there any action taken on your side to resolve this very annoying issue ? Thank you in advance for your help
For bar charts with category-labeled x axes, Plotly automatically computes an x-axis range based on the number of bars in the chart, which seems to be [-0.5, numBars - 0.5]. The chart doesn't render properly if one of the range endpoints happens to be equal to a category name. In the following example, the graph is cut off with the bar labeled '2.5' being partially out of frame and the bar labeled '3.0' not rendering at all:
https://codepen.io/mmichelsen/pen/LYpebKj
If you change '2.5' to anything other than '-0.5' or '2.5', the graph renders properly.
The text was updated successfully, but these errors were encountered: