【发布时间】:2010-12-20 21:48:39
【问题描述】:
使用 Flex 的 LineChart 组件:如何使水平网格线(图表内的背景)点缀?使用 mx:horizontalStroke 中的 mx:Stroke,我只能设置重量、颜色和 alpha 等属性。我想把线画成虚线...
这就是我现在拥有的:
<mx:LineChart id="linechartDays" width="100%" height="100%" dataProvider="{dayData}" showDataTips="true">
<mx:backgroundElements>
<mx:GridLines horizontalChangeCount="1" direction="horizontal">
<mx:horizontalStroke>
<mx:Stroke weight="1" color="0xcccccc"/>
</mx:horizontalStroke>
</mx:GridLines>
</mx:backgroundElements>
</mx:LineChart>
【问题讨论】:
标签: apache-flex charts