Jump to content
Software FX Community

Surface/Contour Exception


Recommended Posts


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

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.

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.

  • Create New...