Jump to content
Software FX Community

How to create the first sample chart - surface.


Recommended Posts

We support two kinds of surface charts.

1) Similarly to previous versions of Chart FX, we support a surface chart where multiple series are actually plotted at different Z levels. If you have an equally spaced XZ matrix, this would be the right way as it allows us to also paint horizontal and vertical gridlines through the surface

To use this mode you just have to set the Gallery property to Gallery.Surface

2) We also support an XYZ mode where you supply arbitrary XYZ values for all the points, in this mode we expect 2 series the first series specifies the X and Y and the second series values are used as Z. Note that in this mode we create a triangulation of your data but we do not support horizontal and vertical gridlines at the moment.

To use this mode you have to add a reference to ChartFX.WPF.XYZ, create a SurfaceXYZ object and assign it to AllSeries.GalleryAttributes

The sample you pointed to is using the first approach.


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