pearsonj Posted October 15, 2008 Report Share Posted October 15, 2008 Hi, We have charts that plot while a simulation runs. Users can define which type of gallery to use. If they choose Surface or Contour, an exception is fired that says "Steps should be a positive number". The stack trace points at the root of my application. I put in a some code like this but it didn't help: if (ChartType == Gallery.Surface || ChartType == Gallery.Contour) { var step = 5; ChartControl.AxisY.Step = step; var surface = (Surface)ChartControl.GalleryAttributes; surface.Step = step; } Any ideas? thanks, Jake 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.