开发者

Setting small interval on LineAxis

I am having a problem setting up the LinearAxis in a horizontal BarChart using an interval value that is 0.25. I am using a minimum value o开发者_开发技巧f 0.0 and a maximum of 1.0

This is the way it's currently rendering:

Setting small interval on LineAxis

Is there a way to force the breaks at 0.25?


So, it is doing it right... You have the tick interval set as 0.25 but it is rounding the value for you. How nice of it :)

I think you want to set the maximumLabelPrecision to avoid this silliness.

<mx:horizontalAxis>
    <mx:LinearAxis interval="0.25" maximumLabelPrecision="2" /> 
</mx:horizontalAxis>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜