hi Iain,
From my experience, i giving u a suggestion
if you set the y- axis with min and max value, then there is no option
to rearrange the y-axis range automatically. you need to write some
action script to set the max value while scrolling
if not it will automatically rearranged.
Thank's & Regards,
Gunasekaran Sambandhan
----- Original Message ----
From: imjackson84 <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, 2 November, 2007 8:52:50 PM
Subject: [flexcoders] Charting: adjust y-axis range automatically when changing
x-axis range
Hi,
I have a stock market line chart with a CategoryAxis (representing
dates) along the bottom and a LinearAxis up the side. My chart has the
option of adjusting the date range, which is done by switching the
category data provider for the x-axis, but keeping the actual line
series data provider the same.
However, when I change the x-axis range, the y-axis range remains
unchanged, as the min and max are being determined from the entire
series data provider. How can I adjust the y-axis range to match only
what is currently visible on the graph?
Thanks,
Iain
Forgot the famous last words? Access your message archive online at
http://in.messenger.yahoo.com/webmessengerpromo.php