[flexcoders] Issue with Tree in Flex
Hi flex experts, I'm using tree for a requirement, when we try to open more number of nodes and browse thru the the tree, these are the issues that occur. 1) Tree View goes either Blank or filled with one node name. 2) It hides few nodes. In other words, On expanding more nodes the tree view goes either blank or hides few nodes (sometimes the single node name appears through out the tree view). The following is a sample tree code that i'm trying to use. You can copy paste and try executing this. Thanks in Advance. Regards DB http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="init()" width="100%" height="100%"> -- View this message in context: http://www.nabble.com/Issue-with-Tree-in-Flex-tp22538899p22538899.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Flex charting
Hi Poorni, Can you post the code, let me try to modify the same and send it to you. Regards DB kotha poornima wrote: > > Hi All, > > I have one arraycollection like this: > > public var expenses:ArrayCollection = new ArrayCollection([ > {Month:"Jan", Profit:2000, loss:200, Expenses:1500}, > {Month:"Feb", Profit:1000, loss:200, Expenses:200}, > {Month:"Mar", Profit:1500, loss:200, Expenses:500} > ]); > > With this iam drawing a column chart. > so i added two column series one for profit and one for expenses. So i got > output like for the first key two lines came orange and green one for > profit and one for expenses. > > But i want to combine these two lines so i put type="100%" > With this iam getting green and orange in the same line with values > adjusted to 100%. > > Up to this its working fine. > But now i want another series for the same key with loss and expenses. > However if i add these two series to the chart iam still getting one line > with 4 colors. But i want profit and expenses with type="100%" in one line > and loss and expenses in one line with type="100%" for one key.(Shown in > the attachment "type1.bmp"). Please help me guys!!! > > Thanks in Advance, > Poornima > > > > > > -- View this message in context: http://www.nabble.com/Flex-charting-tp22534734p22539460.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Color icon(s) in tree control
Hi, try using itemrenderer, changing the icon first and then try for changing the color. regards DB Nable wrote: > > Hi, I have tried everything and just couldn't find a solution. I'd like to > color icons in tree control just as it would be possible in Flash: > mc.color = 0xff; > mc.alpha = 50; > Of course in Flex it doesn't work like that. I have tried with > ItemRenderer. In function updateDisplayList you can change as much as > anything. You can set super.icon.blendMode, you can set super.icon.alpha, > but I just couldn't find a way to color icon. > > I need to color DefaultLeafIcon in runtime. Please help. > > > -- View this message in context: http://www.nabble.com/Color-icon%28s%29-in-tree-control-tp22536941p22539736.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Simple actionscript that I cannot understand! Please help. Thanks
Fred45 wrote: > > > > > Can somebody explain into details what that code do?(line by line). I know > that it is changing the font size but I cannot understand the :"s" > and the "normal"? I understand the overal code but not everything. Thanks > again for your time. Fred. > > http://www.adobe.com/2006/mxml";> > > > click="changeLabel('2')" > label="Change Other Button's Styles" > /> > click="changeLabel('1')" > label="Change Other Button's Styles" > /> > > > > > -- View this message in context: http://www.nabble.com/Simple-actionscript-that-I-cannot-understand%21-Please-help.-Thanks-tp22536950p22540167.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Issue with Tree in Flex
Thank you steve, I'm using expandTree(); to get the first node expanded on creation of the tree. my requirement is to keep the first node open after creation of the tree, there after it will be handled by the user. thanks and Regards DB valdhor-3 wrote: > > DB > > I tried your code and saw the exact issue you describe. > > Commenting the line: > > //expandTree(); > > fixes it. > > I don't use Tree but I would surmise you are double handling the expand > functionality. From what I can see the tree component already implements > expand and by adding your own you are causing the problem. > > Someone else who uses tree more extensively may have a better explanation. > > HTH. > > > > Steve > > > --- In flexcoders@yahoogroups.com, duraibalaji wrote: >> >> >> Hi flex experts, >> I'm using tree for a requirement, when we try to open more number of >> nodes >> and browse thru the the tree, >> these are the issues that occur. >> 1) Tree View goes either Blank or filled with one node name. >> 2) It hides few nodes. >> >> In other words, On expanding more nodes the tree view goes either blank >> or >> hides few nodes (sometimes the single node name appears through out the >> tree >> view). >> >> The following is a sample tree code that i'm trying to use. You can copy >> paste and try executing this. >> >> Thanks in Advance. >> >> Regards >> DB > > > > -- View this message in context: http://www.nabble.com/Issue-with-Tree-in-Flex-tp22538899p22558475.html Sent from the FlexCoders mailing list archive at Nabble.com.
RE: Re: [flexcoders] Issue with Tree in Flex
Hi Tracy, yes, you are right, I 've removed it and calling the expandTree from a changewatcher, the function is fine and working as per requirement. i don't see any issues in tree now. Thanks for all giving excellent advices regards DB Tracy Spratt wrote: > > Yes, a label function should only build the label string, not do anything > else, especially manipulate the visual elements of the control it is being > used to render. A label function gets called for every visible node in > the > tree, which changes when you scroll, open a node, etc. No wonder you > confused the poor tree! > > > > What is the goal of that line? > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of valdhor > Sent: Monday, March 16, 2009 12:15 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Issue with Tree in Flex > > > > DB > > I tried your code and saw the exact issue you describe. > > Commenting the line: > > //expandTree(); > > fixes it. > > I don't use Tree but I would surmise you are double handling the expand > functionality. From what I can see the tree component already implements > expand and by adding your own you are causing the problem. > > Someone else who uses tree more extensively may have a better explanation. > > HTH. > > Steve > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, > duraibalaji wrote: >> >> >> Hi flex experts, >> I'm using tree for a requirement, when we try to open more number of >> nodes >> and browse thru the the tree, >> these are the issues that occur. >> 1) Tree View goes either Blank or filled with one node name. >> 2) It hides few nodes. >> >> In other words, On expanding more nodes the tree view goes either blank >> or >> hides few nodes (sometimes the single node name appears through out the > tree >> view). >> >> The following is a sample tree code that i'm trying to use. You can copy >> paste and try executing this. >> >> Thanks in Advance. >> >> Regards >> DB > > > > > -- View this message in context: http://www.nabble.com/Issue-with-Tree-in-Flex-tp22538899p22571253.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] RightClick Menu Added - not visible sometimes
Hello flex Experts, I have added new menu in Rightclick (custom menu). i have disabled the existing one(print) and added "GO BACK" as menuitem. Sometimes this menu is not appearing on Rightclick. let me know, if there are any solutions for this. Thanks in Advance regards DB -- View this message in context: http://www.nabble.com/RightClick-Menu-Added---not-visible-sometimes-tp22727749p22727749.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] how to control piechart resize?
Hi, I've piechart, the data supplied dynamically changes, each time the piechart size is getting resized, in other words, if we have 4(values) sectors in pie chart, its with one size and when it has 2(values) sectors, the piechart enlarges(bigger than the previous one). how can we control the size of the piechart? I've tried giving the piechart size with width= 390 and height=320, as well as tried with percentage.still it is resizing. the container of the piechart is a HBox, with width and height =100%. Thanks in Advance Regards Balaji -- View this message in context: http://www.nabble.com/how-to-control-piechart-resize--tp21253007p21253007.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] can we mention the radius of the flex piechart
hi , Can we specify the radius of the piechart. thanks in advance Regards Balaji -- View this message in context: http://www.nabble.com/can-we-mention-the-radius-of-the-flex-piechart-tp21258719p21258719.html Sent from the FlexCoders mailing list archive at Nabble.com.