in line chart
when first time graph loads itemRenderer work.But when i change the
data provider item renered did not works.
Please give a quickreply********i Can't load my graph again


 <mx:itemRenderer>
                                                                <mx:Component>
                                                                        <mx:Box 
creationComplete="setVersion()"
cornerRadius="15"  borderStyle="solid" backgroundColor="#E48701"
height="3" width="3" >
                                                                                
<mx:Script>
                                                                                
  <![CDATA[
                                                                                
        import mx.controls.Alert;

                                                                                
    private function setVersion():void
                                                                                
    {
                                                                                
        if
((data.item.date==outerDocument.versionStartDate)||
(data.item.date==outerDocument.versionChangeDate))
                                                                                
                this.setStyle
("backgroundColor","#307AFF");
                                                                                
        else
                                                                                
                this.setStyle
("backgroundColor","#E48701");
                                                                                
    }
                                                                                
  ]]>
                                                                                
</mx:Script>
                                                                                
                <!--<mx:CrossItemRenderer scaleX="1" scaleY="1" />-->

                                                                        
</mx:Box>

                                                                         
</mx:Component>
                                                                    
</mx:itemRenderer>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to