Jump to content
Software FX Community

Gallery changed event


Recommended Posts

Is there an Event that I could register for that would tell me that the chart's Gallery Type was changed?  I need to know this in order to perform some additional scaling when the user switches from a normal gallery, like LINE to a statistical chart gallery like XCHART.  Thanks.
Link to comment
Share on other sites

There is no specific event for notifying about a gallery change.

You can capture InternalCommand to trap any command coming from the toolbar or context menus. In the case of the gallery, you will receive the first gallery in the menu (CommandId.Line by default) in the CommandId argument and the index of the sub-command in the SubCommandId argument.

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.

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.

  • Create New...