Could you kindly provide a small example for this as how to call the function to get the value inside the updataDisplayList ?
Thanks On Sep 29, 1:25 am, imtiyaz <[EMAIL PROTECTED]> wrote: > Ok, > So your problem is dynamic rendering of DATA :) > override the updataDisplayList in your renderer check the data > property if choice1 draw traingle else draw cirlce ... > Point here is instead of using TraingleItemRenderer or > CircleItemRenderer you need to write the custom rendering component > here. > > Which fulfills your purposes. > > Regards, > Imtiyaz Basha M S > > On Sep 26, 6:02 am, flexkwt <[EMAIL PROTECTED]> wrote: > > > Sorry about the confusion. > > > What I would like to do is > > I need to verify a value which is in a Array Collection(I am adding > > value to Test as AddItem) > > and based on the value in Test, show Triangle or Circle ItemRenderer. > > > Regards > > > On Sep 25, 11:15 pm, imtiyaz <[EMAIL PROTECTED]> wrote: > > > > At this point I didn't felt any difference in your question and your > > > explanation. > > > I suggest you to go through Line Series api and examples. > > > >http://livedocs.adobe.com/flex/2/langref/mx/charts/series/LineSeries.... > > > I bet it will clear all your doubts, > > > > Regards, > > > Imtiyaz Basha M S > > > > On Sep 25, 7:50 pm, flexkwt <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > Thanks a lot for the answer. > > > > > My dataprovider is in fact a collection. And Test is added as addItem > > > > to the collection. > > > > But inside the renderer, I am not sure how to get the value from Test. > > > > > In the In <mx:DataGridColumn we could set dataField="Test" and can get > > > > the value by overriding the set data function. > > > > Since <mx:LineSeries doesn't have dataField, I am not sure how to get > > > > the value. > > > > > xField and yField I am using to display other values. > > > > Is there a way to get the complete values in renderer? > > > > How can I do this? > > > > > Thanks again. > > > > > On Sep 25, 9:42 pm, imtiyaz <[EMAIL PROTECTED]> wrote: > > > > > > Okey If I consider your object like > > > > > > CustomObject > > > > > -xFieldValue > > > > > -yFieldValue > > > > > -extraVal1 > > > > > -extraVal2 > > > > > .... > > > > > > if your data provider is having a collection of CustomObjects. what is > > > > > the problem here ? > > > > > > you renderer can get the complete object and you can fetch the other > > > > > values from it. > > > > > May I think the problem is with the structure of data you are having. > > > > > > if I am wrong please come up with a clear explanation. > > > > > > Regards, > > > > > Imtiyaz Basha --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

