Great info; thanks for that. I had really oversimplified in my mind what that top control was providing and how it could be implemented.
--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > > Hi Doug. I think the devil is in the details. When I look at Google > finance's charts, I see a number of rendering and interaction points > that aren't built in to the existing flex charts. Specifically: > > - multiple clickable, labled callout points. > - a hilight point on the line that maps to the current value at the > x-position of the cursor. > - on the top chart: > - inline labels at each year. > - desaturation of the area of the chart outside the filter range > - a slider/scrollbar embedded directly in the data area of the > chart, sized to match the filtered area. > - interactive draggable edges around the filter region. > > > All of these are integrated additions to the rendering and interaction > behavior of the chart. This type of functionality is best built as chart > extensions, since it's deeply integrated with what the chart does - - > display and manipulation of data. > > Another approach would be to implement this behavior through external > controls, as you describe below. This is a fine approach, and one that > is a lot easier to implement quickly. Personally, I'm a big fan of > direct manipulation, so I like google's approach. But there's a cost > associated with the deeper integration (namely, implementation cost), so > which approach is right for you really depends on your particular > project's parameters. > > (It's worth mentioning that the benefit of building this type of > functionality as extensions on the flex charting platform is that they > could then be pretty broadly reusable across multiple projects and > charts). > > Ely. > > > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Doug Lowder > Sent: Tuesday, March 21, 2006 10:39 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Google Finance in AJAX: Can we do this in > Flex? > > Hi Ely, > > I'm curious about the benefits of implementing these features as chart > extensions as opposed to separate custom components. > Specifically, in my case I have a custom component that can have its > view type set to either chart or datagrid; both use the same > dataprovider. Another custom component has horizontal slider and > scrollbar controls that operate on the dataprovider to allow zoom and > scroll capability. Implementation-wise, there is really nothing in > common between these components. Their parent container incorporates > both the zoom-scroll control and the chart/grid component and sets their > dataproviders to the same object. Do you think this particular use case > would be a good candidate for implementing as chart extensions? > > Thanks, > Doug > > --- In flexcoders@yahoogroups.com, "Ely Greenfield" <egreenfi@> > wrote: > > > > > > > > > > Hi. In Flex 2, all of this functionality could be implemented as > chart > > extensions. Building on different codebases makes it easier or > harder > > to do some specific things, so an implementaiton using flex would > > probably be different in subtle ways, but yes, in general, you > could > > build this as chart extensions. > > > > Ely. > > > > > > -----Original Message----- > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On > > Behalf Of t_msreddy > > Sent: Tuesday, March 21, 2006 8:49 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Google Finance in AJAX: Can we do this in > Flex? > > > > I just learnt about Google Finance. I think they implemented in > AJAX > > > > URL: > > http://finance.google.com/finance?q=MSFT&btnG=Search > > > > I was particularly pleased with the sliding bar at the top of the > chart > > used for zoom in/out. Can this be done in Flex? I know there is a > > SlideBar component in Flex which can do that. But it is limited: > > > > 1. SlideBar component has only one movable sliding tip. In the > google > > chart that you see, there are two movable sliding tips. > > 2. SlideBar component can be used to filter data based on only one > point > > lets say 2004. In google finance chart, there is a movable sliding > > window apart from movable adjustable tips say between 2004 and > > 2006 > > > > How can we implement such a think in Flex? > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/