Jump to content
Software FX Community

How to get updated series color


ubaid.tariq
 Share

Recommended Posts

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 ??

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...