wlo413 Posted February 24, 2009 Report Share Posted February 24, 2009 I have the Gallery button on the toolbar visable in my chart. For my chart, I do not need to have my chart represented in every chart available. Actually, the data I have is not suitable for some of the charts. Is there a way to hide specific charts from the gallery menu? All I want selectable in the Gallery are the Line, Curve, Area, CurveArea Scatter, and Bar charts. Quote Link to comment Share on other sites More sharing options...
AndreG Posted February 25, 2009 Report Share Posted February 25, 2009 chart1.Commands[CommandId.Gallery].SubCommands.RemoveAt(galleryIndex); Here is a list of Galleries and Indexes [0] - Lines [1] - Curves [2] - Area [3] - Curved Area [4] - Step [5] - Bubble [6] - Scatter [7] - Bars [8] - Horizontal Bars [9] - Cubes [10] - Candlestick [11] - OpenHighLowClose [12] - HighLowClose [13] - Pie [14] - Doughnut [15] - Combined [16] - Triangle [17] - Radar [18] - Contour [19] - Surface If multiple galleries will be removed, remove higher index first. 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.