You can set the type of vertical Axis you want to use.  The LinearAxis class 
takes an interval property which might be what you are looking for.  Here is an 
example (take from Adobe’s livedoc examples):

 

http://livedocs.adobe.com/flex/3/html/help.html?content=charts_types_08.html 

 

<mx:verticalAxis>

        <mx:LinearAxis 

               title="linear axis" 

               minimum="10" 

               maximum="100" 

               interval="10"

        />

</mx:verticalAxis>

 

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 <http://www.cfwebtools.com> http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Vikram Singh
Sent: Friday, April 10, 2009 7:43 AM
To: Flex Coders
Subject: [flexcoders] flex chart problem

 






chart having dynamic Yaxis and Xaxis range. max range is get from database.

problem is if max. Yaxis is small like(3,2,1), it will display in decimal 
sequence. (1, 1.2, 1.4, 1.6, 1.8, 2, 2.2....like)

want to display only pure numbers in charts.

I have tried many things but not get it.

Is there any idea to get it?? how can i solve this?





  _____  

Add more friends to your messenger and enjoy! Invite 
<http://in.rd.yahoo.com/tagline_messenger_6/*http:/messenger.yahoo..com/invite/>
  them now.



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.285 / Virus Database: 270.11.51/2052 - Release Date: 04/10/09 
06:39:00

Reply via email to