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
The codepen has the code how I have it in my project, but I don't see the problem when I opened the codepen on my phone.
What is the behavior you expect?
To see it as seen when using Chrome responsive mode:
What is happening instead?
The bars are not showing and the yaxis is inverted. In desktop works as expected.
What error message are you getting?
None.
Edit:
Changing the chart height to 550 made the chart bars appear and yaxis to have its normal direction but the chart is squeezed at the top and the legend way down below:
The text was updated successfully, but these errors were encountered:
I tested in mobile browsers (Android chrome as well as iPhone chrome) and the chart renders correctly on both the devices with legends taking up normal space.
I suspect the problem is with legend calculation, so if it causing issues for you, try setting the height of each legend item with CSS as the legend is drawn with HTML.
Codepen
https://codepen.io/ordago/pen/pYNNye
Explanation
The codepen has the code how I have it in my project, but I don't see the problem when I opened the codepen on my phone.
To see it as seen when using Chrome responsive mode:
The bars are not showing and the yaxis is inverted. In desktop works as expected.
None.
Edit:
Changing the chart height to 550 made the chart bars appear and yaxis to have its normal direction but the chart is squeezed at the top and the legend way down below:
The text was updated successfully, but these errors were encountered: