[flexcoders] Setting Charts' Parameters in Runtime

2006-05-30 Thread vebazzo
Hello again! I have a probably very simple question to make. I am using a barchart in my flex and I want to set the interval, minimum and maximum values in the horizontal axis in runtime. I need to read these values from a file and then define the interval. I can't let Flex do it by itself

Re: [flexcoders] Setting Charts' Parameters in Runtime

2006-05-30 Thread Mark Wales
I am not positive this is right, but I suspect you want something like this:: public function setupChart():void { var myChart:AreaChart = new AreaChart(); var myValue:Number = .001; var myAxis:LinearAxis = new LinearAxis(); myAxis.interval = myValue; myChart.horizontalAxis = myAxis;

RE: [flexcoders] Setting Charts' Parameters in Runtime

2006-05-30 Thread Ely Greenfield
Flex 1.5 or 2.0? Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vebazzo Sent: Tuesday, May 30, 2006 6:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Setting Charts' Parameters in Runtime Hello again! I have a probably