User (Legacy) Posted October 8, 2006 Report Share Posted October 8, 2006 Hello, Is it possible to hide one or more selected gallery types for a chart in the properties dialog and toolbar? We have some graphs where we don't want to allow the user to select some of the graph gallery types. Thanks Mark Link to comment Share on other sites More sharing options...
Software FX Posted October 9, 2006 Report Share Posted October 9, 2006 The Gallery drop-down is a command (CommandId.Gallery) and as such it can be customized. For example, you can remove the Radar gallery by doing: SubCommandCollection galleryCommands = chart1.Commands[CommandId.Gallery].SubCommands; int radarIndex = galleryCommands.IndexOf((int) CommandId.Radar); galleryCommands.RemoveAt(radarIndex); -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.