Jump to content
Software FX Community

Hide Certain Chart Types


wlo413
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

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