I have two ColumnCharts that are laid out in separate states of a window.  The 
first graph redraws with animation each time I switch to its state, but the 
other displays without animation even though it has the same ColumnSeries 
showDataEffect defined as the first one.  Does anyone know of a way to make 
both use the animation every time they display? (The first one does not show 
the animation the first time you view it - only when you switch back to it.)  

Here are both definitions:

                <mx:ColumnChart id="cc_Invoice_ChartWindow_status" 
dataProvider="{_statusChartData}" showDataTips="true" width="924" height="373" 
y="54" x="10" styleName="crDashboardReportHeader">
                    <mx:horizontalAxis>
                       <mx:CategoryAxis id="a1" 
dataProvider="{_statusChartData}" categoryField="name" />
                    </mx:horizontalAxis>
                    <mx:series>
                       <mx:ColumnSeries showDataEffect="{changeEffect}" 
yField="draft" displayName="{_draftDisplay}" />
                       <mx:ColumnSeries showDataEffect="{changeEffect}" 
yField="pending" displayName="{_pendingDisplay}" />
                       <mx:ColumnSeries showDataEffect="{changeEffect}" 
yField="exported" displayName="{_exportedDisplay}" />
                       <mx:ColumnSeries showDataEffect="{changeEffect}" 
yField="approved" displayName="{_approvedDisplay}" />
                       <mx:ColumnSeries showDataEffect="{changeEffect}" 
yField="paid" displayName="{_paidDisplay}" />
                       <mx:ColumnSeries showDataEffect="{changeEffect}" 
yField="partiallypaid" displayName="{_partiallyPaidDisplay}" />
                    </mx:series>
                </mx:ColumnChart>

                <mx:ColumnChart id="cc_Invoice_ChartWindow_assigned" 
dataProvider="{_assignedChartData}" showDataTips="true" width="921" 
height="373" x="19" y="54"  styleName="crDashboardReportHeader">
                <mx:horizontalAxis>
                    <mx:CategoryAxis id="a2" 
dataProvider="{_assignedChartData}" categoryField="name"/>
                </mx:horizontalAxis>
                <mx:series>
                    <mx:ColumnSeries showDataEffect="{changeEffect}" 
yField="direct" displayName="{_directDisplay}" />
                    <mx:ColumnSeries showDataEffect="{changeEffect}" 
yField="group" displayName="{_groupDisplay}" />
                </mx:series>
           </mx:ColumnChart>



Reply via email to