actually, this is how i'm making that panel draggable, forgot to include the
script


public function mouseDownHandler(evt:MouseEvent):void
            {
                chartCanvas.setStyle('horizontalCenter', undefined);
                chartCanvas.setStyle('verticalCenter', undefined);
                chartCanvas.startDrag();
            }
            public function mouseUpHandler(evt:MouseEvent):void
            {
                chartCanvas.stopDrag();
            }



On Wed, Feb 27, 2008 at 10:58 AM, Derrick Anderson <
[EMAIL PROTECTED]> wrote:

> hi everyone, i have actually built something like this that I am quite
> happy with, but all of these examples show the chart doing something very
> simple that i for the life of me have not figured out how to do.
>
> they all let you click in the background and drag the chart around... how
> the heck to you do that?  Currently my chart sits on a panel and i make that
> panel draggable like this
>
> <mx:Canvas id="container" width="100%" height="100%" top="30">
>
>             <mx:Canvas id="chartCanvas" horizontalCenter="0"
> verticalCenter="0" clipContent="false">
>                 <myTags:ChartLevel id="topChartLevel" isTopLevel="true" />
>             </mx:Canvas>
>
>         </mx:Canvas>
>
> but i know this is not the right way to do it, because 'container' starts
> to show scroll bars (as i would expect it to) when I drag this invisible
> panel out of the viewable area of the container...
>
> D.
>
>
> On Wed, Feb 27, 2008 at 10:15 AM, Kevin Aebig <[EMAIL PROTECTED]> wrote:
>
> >    Or you could save $700 bucks and look into:
> >
> >
> >
> > -          
> > Springgraph<http://mark-shepherd.com/blog/springgraph-flex-component/>
> >
> > -          Prefuse <http://flare.prefuse.org/>
> >
> > -          Flex Visual Graph 
> > Library<http://groups.google.com/group/flexvizgraphlib>
> >
> >
> >
> > !k
> >
> >
> >  ------------------------------
> >
> > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Christophe Jolif
> > *Sent:* Wednesday, February 27, 2008 4:47 AM
> > *To:* [email protected]
> > *Subject:* Re: [flexcoders] Family Tree / Flow chart
> >
> >
> >
> > Hi Murali,
> >
> > If what you need is an organization structure (not a family tree like
> > geni.com), ILOG Elixir provides such a component. You can see it in
> > action
> > here if you want to check whether that is what you are looking for:
> >
> > http://visudemos.ilog.com/webdemos/orgchart/orgchart.html
> >
> > More info at: http://elixir.ilog.com
> >
> > Hope this helps,
> > --
> > Christophe
> >
> > Murali sankar wrote:
> > > Hi All,
> > >
> > > I am new to Flex. I want to develop a organization structure like in
> > > geni.com. Can you please help me anyone, How to develop or where can i
> >
> > > get that kind of component?
> > >
> > > Thanks in advance
> > > Murali Sankar
> > >
> > > ----------------------------------------------------------
> > > Looking for last minute shopping deals? Find them fast with Yahoo!
> > > Search.
> > > <
> > http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/category.php?category=shopping>>
> >
> > >
> >
> > --
> > Christophe
> >
> >  
> >
>
>

Reply via email to