Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a scrolling bar chart in flex. Whenever i am doing multiple selections and then scrolling the bar chart, the selections get deselected. How can i make the selections as it is even if i am scrolling the bar chart. Please suggest me some way.
Posted

1 solution

store the selection and reset it.

To loose the selection is a native behavior of the control. The selection is valid as long as there is no other selection made.

So you should have a selection event where you store the selection and a mouse event where the selection is reset after mouse moved.

Be sure to avoid a blinking chart due to the actions.
 
Share this answer
 
Comments
Sachendra Pal 12-Mar-12 9:26am    
Thanks for the suggestion. Even i know the way how to do this but actually not able to implement that. It would b better if u can provide an example..
Thanks..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900