Here is full code to highlight the problem. This example takes about 5
seconds when you press "Setup Axis":

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx">

        <fx:Script>
                
        </fx:Script>

        <s:VGroup width="100%" height="100%">
                <mx:Panel>
                        <mx:VBox width="100%" height="100%">
                                <mx:Button label="Setup Axis" 
click="button1_clickHandler(event)"/>
                                <mx:LineChart id="requiredVsActualLineChart"
dataProvider="{requiredVsActualDataProvider}" showDataTips="true"
height="210" width="100%" paddingTop="4" paddingRight="20">
                                        <mx:horizontalAxis>
                                                <mx:CategoryAxis 
id="requiredVsActualCategoryAxis"
categoryField="On"/>
                                        </mx:horizontalAxis>
                                </mx:LineChart>
                        </mx:VBox>
                </mx:Panel>
        </s:VGroup>
</s:Application>




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Patching-Flex-4-6-SDK-chart-functionality-tp5527p5602.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to