0

I have a flex application, which consists of several tabs. One tab contains a columnchart and a datagrid, which contains collection of results (after selecting another datagrid result, another line in the chart shows up). This stops, however, after I go to another tab and come back. At this point, after datagrid line is selected, chart's dataProvider changes, which causes labels to change, but chart remains the same.

Tab navigation is implemented through states, like this:

<s:states>
 <s:State name="tabWithChart"/>
 <s:State name="anotherTab"/>
 <s:State name="yetAnotherTab"/>
</s:states>

...................

<s:Group>
 <chartTab:ChartTab includeIn = "tabWithChart"/>
 <tab1:Tab1 includeIn = "anotherTab"/>
 <tab2:Tab2 includeIn = "yetAnotherTab"/>
</s:Group>

Clicking navigation button causes state to change. What may be causing the problem?

user2820173
  • 308
  • 2
  • 13
  • Try to explain in a better way. I didn't understand what is your problem. – Yury Euceda Oct 21 '14 at 17:25
  • Can you post the code for this? It seems to be some sort of refreshing issue but may be it is too early to comment. – akhil_mittal May 05 '15 at 11:25
  • Problem was quite strange: custom container. It was used to cover components while content was loading. Chart doesn't refreshing wasn't the only problem it caused. After container wasn't used anymore, problem disappeared, though. – user2820173 May 05 '15 at 13:01

0 Answers0