Flex chart labels way too small, how to resize axis?

江枫思渺然 提交于 2019-12-25 09:26:29

问题


So I have a Flex bar chart that resizes dynamically, and if I have only a few items, the height shrinks and the horizontal axis and label shrink along with it. If the height of the chart is small enough, the label shrink down to practically nothing.

How can I enforce a minimum height for the axis itself? Or even a minimum font size for the labels?

I've tried setting the font size on the axis renderer and the axis label renderer and Flex still wants to resize the labels how it wants.


回答1:


put a minHeight on the container I believe... but mostly just wanted to point out Axiis to you...



来源:https://stackoverflow.com/questions/5835147/flex-chart-labels-way-too-small-how-to-resize-axis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!