Thanks for the tip, I wonder if I missed something, however. I have multiple line series on my chart, and when the minimum/maximum of the datetimeaxis changes, I'm not resetting the dataprovider at all. Should validateNow() still work in that context? For some reason, when I call it, nothing changes on the chart.
I"m doing the following: //change selectedInterval up here based on zoom button click in buttonbar... var hAxis:DateTimeAxis = DateTimeAxis(linechart1.getAxis( CartesianTransform.HORIZONTAL_AXIS)); hAxis.minimum=new Date(hAxis.maximum.time-selectedInterval); linechart1.validateNow(); Thanks, Dana On 1/9/07, Ely Greenfield <[EMAIL PROTECTED]> wrote:
Hi Dana. That should update automatically before the next render pass...if you want to force it manually, you should be able to call validateNow() on the chart to get everything to update. Ely. ------------------------------ *From:* [email protected] [mailto:[EMAIL PROTECTED] *On Behalf Of *Dana Gutride *Sent:* Monday, January 08, 2007 1:49 PM *To:* [email protected] *Subject:* [flexcoders] Flex Charts - call to recalculate min/max for axis? Hi, Does anybody know if there is a call to recalculate the minimum/maximum values automatically for a axis? I'm allowing the user to change the minimum/maximum of the horizontal axis and I'd like for the vertical axis to automatically update when that's complete. Any ideas? Thanks, Dana

