Flex chart axis title blinking on resize
- by Anoop
I am having a chart with titles for horizontal and vertical axis. the verticalAxisTitleAlignment property of the vertical axis renderer is set to vertical. The application is a portal sort of thing and this chart is placed inside a small window. on click of the window am resizing the parent of the chart. but at that time the title of the axis is blinking and it provides a feeling that the resizing is not smooth. I dont understand why this happens? does the tile renders each time when the component is maximized? is there any way to stop that?
Thanks in Advance,
Cheers, PK
This is the code am using to draw the title :
<mx:horizontalAxis>
<mx:LinearAxis id="haxis" title="Share" interval="5"/>
</mx:horizontalAxis>
<mx:verticalAxis>
<mx:LinearAxis id="vaxis" title="{'Aided'+ '\n'+ ' awareness'}" interval="5"/>
</mx:verticalAxis>
<mx:horizontalAxisRenderers>
<mx:AxisRenderer axis="{haxis}"
axisStroke="{axisStroke}"
tickPlacement="none"/>
</mx:horizontalAxisRenderers>
<mx:verticalAxisRenderers>
<mx:AxisRenderer axis="{vaxis}"
axisStroke="{axisStroke}"
verticalAxisTitleAlignment="vertical"
tickPlacement="none"/>
</mx:verticalAxisRenderers>