简体   繁体   中英

How to populate 3D chart in Winforms Chart

I would like to create 3D plots using Winforms in C#. All I can find on the Microsoft site is how to turn on 3D mode. There are no examples of how to actually populate data with X,Y and Z values. Examples use DataPoints, which only have X and Y. Can somebody point me to an example with a series of XY and Z values?

Winform charts don't support 'real' 3D plots. The 3D surface plots it supports are just the extending of multiple data series in the depth dimension.

Or another interpretation: the y-values of all data series are the function values of functions on the x-[data series index] plane.

So just create some data series with xy-values and the data series index will be your z-value.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM