I can see how to set the vertical axis interval, but what I really
need is to set the minimum interval. This basic chart below shows
alerts, but when there are less than 10 alerts, my vertical axis
will show numbers such as ".8, 2.8, etc). I just want whole
numbers. I'm afraid if I set the lineralaxis interval to 1, and then
when I have a couple hundred alerts I won't get the desired effect.
<mx:ColumnChart x="226" y="15" id="alertSummaryChart"
height="131" width="100%"
showDataTips="true"
dataTipFunction="myDataTipFunction"
dataProvider="{alertsAC}">
<mx:horizontalAxis>
<mx:CategoryAxis categoryField="AlertType"/>
</mx:horizontalAxis>
<mx:verticalAxis>
<mx:LinearAxis interval="1"/>
</mx:verticalAxis>
<mx:series>
<mx:ColumnSeries
xField="AlertType"
yField="data"
displayName="AlertDesc"
fill="{sc1}"
stroke="{s1}"
fillFunction="columnFill"
color="#135D6E"
/>
</mx:series>
</mx:ColumnChart>