Version

Crosshairs Settings

Purpose

This topic explains how to configure to the crosshairs in 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.

Configuring Crosshairs Visibility

Overview

Crosshairs appears as a set of thin lines on mouse hover over the xamScatterSurface3D series surface. They intersect at the mouse pointer and help the user to locate precisely a data point of interest.

Use the XamScatterSurface3D CrosshairAxes property to configure for which axes the crosshairs are visible.

By default, the crosshairs are enabled for all axes and the initial value of the CrosshairAxes is AxisFlags3D.XYZ.

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 crosshairs visibility for specific axes

Example

The screenshot below demonstrates how the xamScatterSurface3D control crosshairs behave as a result of the following settings:

Property Value

XY

Crosshairs 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"
 CrosshairAxes="XY" />

In C#:

…
SurfaceChart.CrosshairAxes = AxisFlags3D.XY;

In Visual Basic:

…
SurfaceChart.CrosshairAxes = AxisFlags3D.XY

Configuring Crosshair Brush

Overview

Use the XamScatterSurface3D CrosshairBrush property to configure the crosshair brush.

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:

Modify the crosshair brush

Brush

Example

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

Property Value

Red

Crosshairs 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"
 CrosshairBrush="Red"/>

In C#:

…
SurfaceChart.CrosshairBrush = new SolidColorBrush(Colors.Red);

In Visual Basic:

…
SurfaceChart.CrosshairBrush = New SolidColorBrush(Colors.Red)

Configuring Crosshair Thickness

Overview

Use the XamScatterSurface3D CrosshairThickness property to configure the crosshair thickness.

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:

Modify the crosshair thickness

double

Example

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

Property Value

3

Crosshairs 3.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"
 CrosshairThickness="3"/>

In C#:

…
SurfaceChart.CrosshairThickness = 3;

In Visual Basic:

…
SurfaceChart.CrosshairThickness = 3

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 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.