Hi Graham. That would work just fine. It forces the chart to do some extra work, b/c it still has to process those out of bounds data values far enough to decide they're out of bounds. So be alert for performance issues. But other than that, it should work fine. Ely.
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of g_odds Sent: Wednesday, February 07, 2007 1:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tutorial zoom in a linechart Everywhere seems to use the slicing the data set style approach. Why would one not set the minimum and maximum of an axis to do this? Graham --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Brendan Meutzner" <[EMAIL PROTECTED]> wrote: > > As Mikhail pointed out, if by "zoom" you mean changing the range shown along > the horizontal axis, this example should help. Just right click to view the > source: > > http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html <http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html> > > Brendan > > > On 2/7/07, Mikhail Shevchuk <[EMAIL PROTECTED]> wrote: > > > > I suppose that it is not difficult to implement. During zooming, just > > store smaller (zoomed area, relatively to the whole chart) array collection > > and change a dataprovider for the component. > > > > 2007/2/7, bcncgn3 <[EMAIL PROTECTED]>: > > > > > > I have linechart and i want that the user can zoom in in the > > > horizontal > > > axis selecting an area on the chart? Someone knows a tutorial which > > > explains how to program this? > > > > > > > > > > > > -- > > A vivid and creative mind characterizes you. > > > > > > > > > > -- > Brendan Meutzner > Stretch Media - RIA Adobe Flex Development > [EMAIL PROTECTED] > http://www.stretchmedia.ca <http://www.stretchmedia.ca> >