Version

Configuring Axis Types

Purpose

This topic explains the axis types available 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 Linear Axis

Overview

Use LinearAxis to apply a linear numeric scale in the xamScatterSurface3D control.

By default, the LinearAxis is applied on the data plotted in 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:

Set the X values on a linear number line

Set the Y values on a linear number line

Set the Z values on a linear number line

Example

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

Configuring Axis Scales 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">
    <ig:XamScatterSurface3D.XAxis>
        <ig:LinearAxis Title="X" />
    </ig:XamScatterSurface3D.XAxis>
    <ig:XamScatterSurface3D.YAxis>
        <ig:LinearAxis Title="Y" />
    </ig:XamScatterSurface3D.YAxis>
    <ig:XamScatterSurface3D.ZAxis>
        <ig:LinearAxis Title="Z" />
    </ig:XamScatterSurface3D.ZAxis>
</ig:XamScatterSurface3D>

In C#:

…
var xLinearAxis = new LinearAxis();
var yLinearAxis = new LinearAxis();
var zLinearAxis = new LinearAxis();
xLinearAxis.Title = "X";
yLinearAxis.Title = "Y";
zLinearAxis.Title = "Z";
SurfaceChart.XAxis = xLinearAxis;
SurfaceChart.YAxis = yLinearAxis;
SurfaceChart.ZAxis = zLinearAxis;

In Visual Basic:

…
Dim xLinearAxis = New LinearAxis()
Dim yLinearAxis = New LinearAxis()
Dim zLinearAxis = New LinearAxis()
xLinearAxis.Title = "X"
yLinearAxis.Title = "Y"
zLinearAxis.Title = "Z"
SurfaceChart.XAxis = xLinearAxis
SurfaceChart.YAxis = yLinearAxis
SurfaceChart.ZAxis = zLinearAxis

Configuring Logarithmic Axis

Overview

Use LogarithmicAxis to apply a logarithmic axis in 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:

Set the X values on a logarithmic number line

Set the Y values on a logarithmic number line

Set the Z values on a logarithmic number line

Example

The screenshot below demonstrates how the xamScatterSurface3D control looks as a result of the following code where the ZAxis is set to LogarithmicAxis:

Configuring Axis Scales 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">
    <ig:XamScatterSurface3D.XAxis>
        <ig:LinearAxis Title="X" />
    </ig:XamScatterSurface3D.XAxis>
    <ig:XamScatterSurface3D.YAxis>
        <ig:LinearAxis Title="Y" />
    </ig:XamScatterSurface3D.YAxis>
 <ig:XamScatterSurface3D.ZAxis>
        <ig:LogarithmicAxis Title="Z" />
    </ig:XamScatterSurface3D.ZAxis>
</ig:XamScatterSurface3D>

In C#:

…
var xLinearAxis = new LinearAxis();
var yLinearAxis = new LinearAxis();
var zLogarithmicAxis = new LogarithmicAxis();
xLinearAxis.Title = "X";
yLinearAxis.Title = "Y";
zLogarithmicAxis.Title = "Z";
SurfaceChart.XAxis = xLinearAxis;
SurfaceChart.YAxis = yLinearAxis;
SurfaceChart.ZAxis = zLogarithmicAxis;

In Visual Basic:

…
Dim xLinearAxis = New LinearAxis()
Dim yLinearAxis = New LinearAxis()
Dim zLogarithmicAxis = New LogarithmicAxis()
xLinearAxis.Title = "X"
yLinearAxis.Title = "Y"
zLogarithmicAxis.Title = "Z"
SurfaceChart.XAxis = xLinearAxis
SurfaceChart.YAxis = yLinearAxis
SurfaceChart.ZAxis = zLogarithmicAxis

Configuring Logarithmic Axis Base

Overview

Use LogarithmBase to change the logarithmic axis base in the xamScatterSurface3D control.

By default, a common logarithm with base 10 is used in 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:

Change the logarithm base number

double

Example

The screenshot below demonstrates how the xamScatterSurface3D control looks when the ZAxis is set to LogarithmicAxis with LogarithmBase set to 2:

Property Value

2

Configuring Axis Scales 3.png

Following is the code that implements this example.

In XAML:

<ig:XamScatterSurface3D Name="SurfaceChart8"
 ItemsSource="{Binding Path=DataCollection}"
 XMemberPath="X" YMemberPath="Y" ZMemberPath="Z">
    <ig:XamScatterSurface3D.XAxis>
        <ig:LinearAxis Title="X" />
    </ig:XamScatterSurface3D.XAxis>
    <ig:XamScatterSurface3D.YAxis>
        <ig:LinearAxis Title="Y" />
    </ig:XamScatterSurface3D.YAxis>
 <ig:XamScatterSurface3D.ZAxis>
        <ig:LogarithmicAxis Title="Z"
 LogarithmBase="2" />
    </ig:XamScatterSurface3D.ZAxis>
</ig:XamScatterSurface3D>

In C#:

…
var xLinearAxis = new LinearAxis();
var yLinearAxis = new LinearAxis();
var zLogarithmicAxis = new LogarithmicAxis();
xLinearAxis.Title = "X";
yLinearAxis.Title = "Y";
zLogarithmicAxis.Title = "Z";
zLogarithmicAxis.LogarithmBase = 2;
SurfaceChart.XAxis = xLinearAxis;
SurfaceChart.YAxis = yLinearAxis;
SurfaceChart.ZAxis = zLogarithmicAxis;

In Visual Basic:

…
Dim xLinearAxis = New LinearAxis()
Dim yLinearAxis = New LinearAxis()
Dim zLogarithmicAxis = New LogarithmicAxis()
xLinearAxis.Title = "X"
yLinearAxis.Title = "Y"
zLogarithmicAxis.Title = "Z"
zLogarithmicAxis.LogarithmBase = 2
SurfaceChart.XAxis = xLinearAxis
SurfaceChart.YAxis = yLinearAxis
SurfaceChart.ZAxis = zLogarithmicAxis

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic explains how to configure the brush and thickness of the grid lines in the xamScatterSurface3D control.

This topic explains how to configure the axis interval in the xamScatterSurface3D control.

The topics in this group explain how to configure different aspects of the visual representation of the axis label in the xamScatterSurface3D control.

This topic explains how to configure the axes lines in the xamScatterSurface3D control.

This topic explains how to configure the axis range by setting the MinimumValue and MaximumValue properties in the xamScatterSurface3D control.

This topic explains how to configure the axis tick marks range in the xamScatterSurface3D control.

The topics in this group explain how to configure different aspects of the visual representation of the axis title in the xamScatterSurface3D control.

This topic explains how to invert an axis in the xamScatterSurface3D control.