Version

Aspect and Perspective

Purpose

This topic explains how to configure the aspect and perspective 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.

In this topic

This topic contains the following sections:

Configuring Aspect

Overview

Use the XamScatterSurface3D Aspect property to configure the aspect of 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 aspect of the xamScatterSurface3D control

Vector3D

Example

The screenshot below demonstrates how the xamScatterSurface3D looks as a result of the following code:

Aspect and Perspective 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"
 Aspect="1 1 0.5" />

Following is the code that implements this example in C#.

In C#:

SurfaceChart.Aspect = new System.Windows.Media.Media3D.Vector3D(1, 1, 0.5);

Following is the code that implements this example in VB.

In Visual Basic:

SurfaceChart.Aspect = New System.Windows.Media.Media3D.Vector3D(1, 1, 0.5)

Configuring Perspective

Overview

Use the XamScatterSurface3D Perspective property to configure the perspective of the xamScatterSurface3D control.

By default, the initial value of the Perspective property is 0.5.

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 perspective of the xamScatterSurface3D control

double

Example

The screenshot below demonstrates how the xamScatterSurface3D looks as a result of the following code:

Aspect and Perspective 2.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" Perspective="1"/>

Following is the code that implements this example.

In C#:

SurfaceChart.Perspective = 1;

Following is the code that implements this example.

In Visual Basic:

SurfaceChart.Perspective = 1

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

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 to configure the floor settings of 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.