I have a requirement to plut points with 3D coordinates and plot them as a curve like a trajectory. Example below. Will the 3d surface chart allow me to create such a line in 3d and will I be able to rotate the chart?
The XamScatterSurface3D chart would theoretically allow you to plot something that is “line-like,” but the data source you provide to the chart would still need to represent a surface, as this is the intent of the XamScatterSurface3D control. There does not exist the ability to give a set of X, Y, Z points I the XamScatterSurface3D and have it plot out a line from those points.
If you would like to potentially see this implemented in the XamScatterSurface3D chart, I would recommend suggesting a new product idea for this at our WPF Ideas Site, here: https://www.infragistics.com/community/ideas/i/ultimate-ui-for-wpf. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.
Please let me know if you have any other questions or concerns on this matter.
You can vote on 3D Scatterline
Here is a workaround for rendering 3D lines in the XamScatterSurface3D by defining a surface that is sliced vertically by data points with double.NaN for Z values. This example show 3 lines but you can also render just one line. Check my comments in code for more details.
Thanks Martin, that looks promising. Do you know if this workaround will work if the X coordinate was changing as well on this example?Michal