Pre loader

Custom PointMarker for 3D depending on PointMetaData



Is there a corresponding Documentation for the 3D Chart like this one for 2D Charts:

What I am trying to do is to make some PointMarkers of the ScatterRenderableSeries3DViewModel in the 3D Chart bigger depending on the PointMetadata3D.
For 2D Charts I could accomplish that with the Documentation mentioned above. Now I want to do the same for 3D Charts.

Can someone give me a hint how to do that?

  • You must to post comments

Hi Nick

There is a custom point marker in 3D but it is limited to simple textures placed on a flat quad. For example we have a demo of this feature here:

WPF 3D Point Cloud Chart Example

    <!-- CustomPointMarker3D allows a VisualBrush, SolidColorBrush, ImageBrush etc... to be placed on a point-marker --> 
    <s3D:CustomPointMarker3D x:Key="CustomPointMarkerResource">
                    <Canvas Width="512" Height="512" Background="Yellow" Grid.Row="1" HorizontalAlignment="Left">
                        <Ellipse Fill="Black" Width="75" Height="75" Canvas.Left="125" Canvas.Top="150"/>
                        <Ellipse Fill="Black" Width="75" Height="75" Canvas.Left="325" Canvas.Top="150"/>
                        <Path Stroke="Black" Data="M 125,300 S 225,400 325, 300" StrokeThickness="20" StrokeEndLineCap="Round" StrokeStartLineCap="Round" Canvas.Left="35" />

This results in the following.

enter image description here

We don’t unfortunately have a method to change the pointmarker on a per-point basis in 3D Charts like how we do in 2D charts … You may have to log a feature request. Would you care to elaborate on your requirements a little bit more?

Best regards

  • You must to post comments

Apologies, I kind of mis-read your question … Making scatter points bigger is easy in 3D

Take a look at The Bubble 3D Chart Type

The scaling is controlled by the PointMetadata3D.Scale property.

There is also an example here:

enter image description here

  • You must to post comments

Well that was kind of too easy, I just missed that Property of the PointMetadata3D class.

Thank you very much!

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies