ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Draw Image on ThreeDScatterChart
Posted by Omar on Jun-15-2018 08:21
Attachments:
Hello

I'm working in WPF and I have a ThreeDScatterChart for real-time plotting of data points. I would like to add an image or some sort of polygon at a specific position relative to my ThreeDScatterChart (For example at (0, 0, 0)).

I have setup my program in a way to be able to control the orientation and size of my chart in real-time and so I want this image to always appear at the same spot regardless of how the user decides to orient the chart... I'm not sure if I'm able to achieve this? If it is possible, your guidance is appreciated as I'm not sure what to do.

I've attached an image of what I'm trying to achieve. The red X marks where I want my image/polygon to appear.

Thank you kindly,

Omar
Capture.PNG

  Re: Draw Image on ThreeDScatterChart
Posted by Peter Kwan on Jun-15-2018 23:41
Hi Omar,

By "always appear in the same spot", I assume you mean it always appear at (0, 0, 0) (or whatever coordinate you use).

You can add a polygon or an image at (0, 0, 0). The simplest method is to add a ThreeScatterGroup with one symbol. The symbol can be configured to be an image or a polygon or even another chart using ThreeDScatterGroup.setDataSymbol2, setDataSymbol3 or setDataSymbol4.

http://www.advsofteng.com/doc/cdnet.htm#ThreeDScatterGroup.setDataSymbol2.htm
http://www.advsofteng.com/doc/cdnet.htm#ThreeDScatterGroup.setDataSymbol3.htm
http://www.advsofteng.com/doc/cdnet.htm#ThreeDScatterGroup.setDataSymbol4.htm

Regards
Peter Kwan

  Re: Draw Image on ThreeDScatterChart
Posted by Omar on Jun-16-2018 11:46
That's perfect, thank you Peter.

Omar