Jump to content
Software FX Community

automatic changing from Gallery(value) to 29482


Markus
 Share

Recommended Posts

 Hey,

i have a small problem in this code: myPie = (Pie) _chart.GalleryAttributes;     if (_chart.Gallery != Gallery.Doughnut)   {   cbExplodeMode.DataSource = System.Enum.GetValues(typeof(ExplodingMode));   cbExplodeMode.SelectedItem = myPie.ExplodingMode;   }   else   cbExplodeMode.Enabled = false;   cbFontStyles.DataSource = _Styles;   nupSliceseparation.Value = myPie.SliceSeparation;

 

after this part the _chart.Gallery isn't no longer a Doughnut or Pie or s.th. like that, but now it's 29482, and i don't know why. When i comment

cbExplodeMode.DataSource = System.Enum.GetValues(typeof(ExplodingMode));

out, everything works fine. Can someone tell me why? 

Link to comment
Share on other sites

I'm guessing cbExplodeMode is a combobox. Maybe you have some code in an event of the combobox that is fired as a consequence of setting the combobox datasource and that code changes the chart gallery.

A Gallery of 29482 looks like an external gallery type (e.g. An extension gallery). Are you using any extensions?

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