ubaid.tariq Posted July 14, 2008 Report Share Posted July 14, 2008 Hi ... I am synchronizing the chart with my custom Legend Box and the issue is, when i apply some palette from default toolbar or change the color of series from default context menu, i did'nt get the updated color of series in chart.InternalCommand event. Is there any way of getting the updated color in chart.InternalCommand event or some other event available for this purpose ?? Quote Link to comment Share on other sites More sharing options...
Frank Posted July 14, 2008 Report Share Posted July 14, 2008 The InternalCommand event is sent before the action executes. You need to read the values from the chart after you return from the InternalCommand event handler. An easy way to achieve this is to create a Windows Form Timer with an interval of 1 (smallest possible) and fire it as you get the event. This will queue the request in the Window's message queue and will be processed as soon as your application becomes idle. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.