Version

Configuring Axis Label Visibility Settings

Purpose

This topic explains how to configure the axis label visibility and opacity 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.

In this topic

This topic contains the following sections:

Configuring Axis Label Visibility Settings

Overview

Use the SurfaceChartAxis LabelOpacity and LabelVisibility properties to configure the label text opacity and the label visibility.

By default, the axes labels are visible.

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 axis label text opacity

double

Configure the axis label visibility

Visibility

Example

The screenshot below demonstrates how the axis label looks as a result of the following settings:

Property Value

0.5

Configuring Axis Label Visibility Settings 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 LabelOpacity="0.5" />
    </ig:XamScatterSurface3D.XAxis>
</ig:XamScatterSurface3D>

In C#:

…
var linearAxis = new LinearAxis();
linearAxis.LabelOpacity = 0.5;
SurfaceChart.XAxis = linearAxis;

In Visual Basic:

…
Dim linearAxis = New LinearAxis()
linearAxis.LabelOpacity = 0.5
SurfaceChart.XAxis = linearAxis

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic explains how to configure the axis label background and foreground brush in the xamScatterSurface3D control.

This topic explains how to configure the axis label font settings in the xamScatterSurface3D control.

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

This topic explains how to configure the label offset from its axis in the xamScatterSurface3D control.

This topic explains how to re-template the axis label in the xamScatterSurface3D control.