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
There are times where I need my bottom titles to be tilted because they are too long. when I tilt them, they occupy a vertical space that otherwise would be used to draw the graph. This causes the vertical space of the drawn graph to differ when the bottomTitles are dynamic.
I want to be able to fix a vertical height for the drawn graph EXCLUDING space occupied by titles.
I am fine with the user having to scroll down if they need to read the titles. I just need the visual graph to be consistent.
example images
The text was updated successfully, but these errors were encountered:
If you're okay with letting users scroll more, then you can increase the whole height of your chart. This way, you have more space for the bars. Have you tried this approach?
I kinda ended up with doing something like that.
Here the reserved size for my bottomTitles is dynamically calculated depending on the length of the text that needs to be displayed.
I set the height for the parent of the graph to be (required GraphArea constant + calculated bottomTitles-size)
There are times where I need my bottom titles to be tilted because they are too long. when I tilt them, they occupy a vertical space that otherwise would be used to draw the graph. This causes the vertical space of the drawn graph to differ when the bottomTitles are dynamic.
I want to be able to fix a vertical height for the drawn graph EXCLUDING space occupied by titles.
I am fine with the user having to scroll down if they need to read the titles. I just need the visual graph to be consistent.
example images
The text was updated successfully, but these errors were encountered: