I tried again this afternoon but failed :( --- In [email protected], "wujunjr" <[EMAIL PROTECTED]> wrote: > > I have a similar question: > > How to print a chart/element without show it in the screen? Since the > UI element can be zoom in/out so the printed effect is not so good. > > I'm using Flex 1.5. > > Thanks a lot. > > --- In [email protected], "kronos113" <kenthaynes@> wrote: > > > > Thank you Ely. I appreciate your help. > > > > I'll play around with this. > > > > -kent > > > > --- In [email protected], "Ely Greenfield" <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > Right then. Good answer. You'll want to write your own custom > > > itemSkin. > > > > > > 1. write a custom class that extends FlexDisplayObject > > > 2. it should optionally implement iDataObject. If it does, it's > > > dataObject property will be assigned an instance of a > ColumnSeriesItem > > > (or some other type, based on the series type). > > > 3. override updateDisplayList. Fill your bounding rectangle > > > (0,0,unscaledWidth, unscaledHeight) with a nice pattern. > > > 4. assign the 'itemSkin' style of the ColumnSeries to be your new > custom > > > skin class. > > > 5. If you want to get fancy, you could write your skin to define > a new > > > style that controls what pattern it should render, how to render > it, > > > etc. in your updateDisplayList function, if you call getStyle (), > you'll > > > get style values defined either on your custom skin class, or on > the > > > enclosing series class. > > > > > > > > > I don't remember what part of this is implemented in the currently > > > public alpha, but I'm sure this will work in the next public > release. > > > > > > > > > Ely. > > > > > > > > > > > > -----Original Message----- > > > From: [email protected] > [mailto:[EMAIL PROTECTED] On > > > Behalf Of kronos113 > > > Sent: Tuesday, January 24, 2006 12:24 PM > > > To: [email protected] > > > Subject: [flexcoders] Re: Chart printing options > > > > > > Sorry...using Flex 2. > > > > > > --- In [email protected], "Ely Greenfield" > <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > > > > > > > > > Kent -- are you using Flex 1.5 or 2.0? > > > > > > > > Ely. > > > > > > > > > > > > -----Original Message----- > > > > From: [email protected] > [mailto:[EMAIL PROTECTED] > > > > On Behalf Of kronos113 > > > > Sent: Tuesday, January 24, 2006 10:53 AM > > > > To: [email protected] > > > > Subject: [flexcoders] Chart printing options > > > > > > > > I'm creating print views for some online reports we're working > on. In > > > > > > > the online versions we have some nice colored bars on our > charts. > > > > This looks great online but it isn't an ideal solution for > printing. > > > > What I'd like to do is create a custom pattern fill to be used > in the > > > > chart's print view. Anyone have any ideas how I can do this? > > > > > > > > I've looked at the IFill interface as it showed promise by it's > name > > > > but the docs for it are empty. > > > > > > > > If anyone has any ideas I'd appreciate it. > > > > > > > > Thanks > > > > Kent > > > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > 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/

