I create a chart,and I want to show some huge numbers,like 5000,4800... But the y-axis's min value is 0,and the line looks too smooth. I want the y value range in [3000,6000],so what should I do? Is there some attribute? And,could I set the y-axis's length?
Try Using below code: -
<mx:LineChart id="lineChart"
showDataTips="true"
dataProvider="{YourDataProvider}"
width="100%"
height="100%">
<mx:verticalAxis>
<mx:LinearAxis id="ca"
title="XMLList attribute"
minimum="3000"
maximum="6000"/>
</mx:verticalAxis>
</mx:LineChart>
Hope this will help.....
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.