Version

Floor Settings

Purpose

This topic explains how to configure the floor settings of the XamScatterSurface3D™ control.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

This topic provides detailed instructions to help you get up and running as soon as possible with the xamScatterSurface3D™ control.

This topic explains the features supported by the control from developer perspective.

This topic provides an overview of the visual elements of the control.

The following table lists the external articles required as a prerequisite to understanding this topic.

Defining Material

Article Purpose

This articles describes how to use the abstract Material class in WPF.

This articles describes how to define and use the DiffuseMaterial class in WPF.

Defining 3D Mesh Geometry

Article Purpose

This articles describes how to create a triangle primitive for building a 3-D shape.

In this topic

This topic contains the following sections:

Configuring Floor Material

Overview

Use the XamScatterSurface3D FloorMaterial property to configure the material of the floor.

By default, the FloorMaterial is bound to the ActualSeriesMaterial property which is a composite of the SeriesMaterial (or SeriesColors when the SeriesMaterial is null), along with some default materials applied by the xamScatterSurface3D control.

Property settings

The following table maps the desired configuration to the property settings that manage it.

In order to: Use this property: And set it to:

Configure the floor material

Material

Example

The screenshot below demonstrates how the xamScatterSurface3D control floor looks as a result of the following settings:

Property Value
<DiffuseMaterial>  <DiffuseMaterial.Brush>  <LinearGradientBrush StartPoint="0,0.5" EndPoint="1.0,0.5">  <GradientStop Offset="0.0" Color="#FF16A9E7" />  <GradientStop Offset="1.0" Color="#FFA4BA29" />  </LinearGradientBrush>  </DiffuseMaterial.Brush> </DiffuseMaterial>
3D Surface Chart Floor 1.png

Following is the code that implements this example.

In XAML:

<ig:XamScatterSurface3D Name="SurfaceChart"
 ItemsSource="{Binding Path=DataCollection}"
 XMemberPath="X" YMemberPath="Y" ZMemberPath="Z"
 ShowFloorProjection=">
    <ig:XamScatterSurface3D.FloorMaterial>
        <DiffuseMaterial>
            <DiffuseMaterial.Brush>
                <LinearGradientBrush StartPoint="0,0.5" EndPoint="1.0,0.5">
                    <GradientStop Offset="0.0" Color="#FF16A9E7" />
                    <GradientStop Offset="1.0" Color="#FFA4BA29" />
                </LinearGradientBrush>
            </DiffuseMaterial.Brush>
        </DiffuseMaterial>
    </ig:XamScatterSurface3D.FloorMaterial>
</ig:XamScatterSurface3D>

Configuring Floor Projection

Overview

Use the XamScatterSurface3D ShowFloorProjection property to enable/disable the projection of the series on the floor of the xamScatterSurface3D control.

By default, the projection is enabled and the value of this property is True.

Property settings

The following table maps the desired configuration to the property settings that manage it.

In order to: Use this property: And set it to:

Enable/disable the series projection on the floor

True/False

Example

The screenshots below demonstrate how the xamScatterSurface3D control floor looks with enabled and disabled projection:

3D Surface Chart Floor 3.png

In XAML:

<ig:XamScatterSurface3D Name="SurfaceChart"
 ItemsSource="{Binding Path=DataCollection}"
 XMemberPath="X" YMemberPath="Y" ZMemberPath="Z"
 ShowFloorProjection=" />

In C#:

…
SurfaceChart.ShowFloorProjection = false;

In Visual Basic:

…
SurfaceChart.ShowFloorProjection = False

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic explains how to configure the aspect and perspective of the xamScatterSurface3D control.

The topics in this group explain how to configure different axis settings in the xamScatterSurface3D control.

This topic explains how to configure to the crosshairs in the xamScatterSurface3D control.

This topic explains how to configure the rim thickness and the material of the cube of the xamScatterSurface3D control.

The topics in this group explain how to configure the data point markers in the xamScatterSurface3D control.

This topic explains how the xamScatterSurface3D control performance can be optimized when rendering a large set of data points.

This topic explains how to configure the xamScatterSurface3D control rotation using code.

The topics in this group explain how to configure different series settings in the xamScatterSurface3D control.

This topic explains how to show/hide the default tooltip and how apply a custom tooltip using DataTemplate in the xamScatterSurface3D control.

This topic explains how to perform the scaling of the xamScatterSurface3D control.