我正在使用具有用于显示日期的水平轴的柱形图。
问题是当有大数据点时,它会缩小 x 轴标签的大小,我不希望这种情况发生。
我正在分批显示日期,但标签仍然没有占用可用空间。标签尺寸缩小,文字难以阅读。
无论刻度数如何,我都可以增加标签大小的任何建议。
这是我的代码片段。
谢谢你。
<mx:ColumnChart id = "areaChart"
height = "100%"
width = "100%"
seriesFilters="[]"
showDataTips="false"
type="overlaid"
columnWidthRatio="0.40"
mouseMove="showData(event)"
mouseSensitivity="600"
change="{callLater(showDefaultData)}">
<mx:horizontalAxis>
<mx:CategoryAxis categoryField = "date"
id = "hax"
ticksBetweenLabels="true"
labelFunction="chartsLabel"/>
</mx:horizontalAxis>
<mx:horizontalAxisRenderers>
<mx:AxisRenderer id="har"
axis="{hax}"
textAlign="left"
tickPlacement="none"
placement="bottom"
axisStroke="{Stroke}"/>
</mx:horizontalAxisRenderers>