This topic explains how to configure the axis title visibility and opacity in the XamScatterSurface3D™ control.
The following topics are prerequisites to understanding this topic:
This topic contains the following sections:
Use the SurfaceChartAxis TitleOpacity and TitleVisibility properties to configure the title text opacity and visibility.
The following table maps the desired configuration to the property settings that manage it.
The screenshot below demonstrates how the axis title looks as a result of the following settings:
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 Axis"
TitleOpacity="0.5" />
</ig:XamScatterSurface3D.XAxis>
</ig:XamScatterSurface3D>
In C#:
var linearAxis = new LinearAxis();
linearAxis.Title = "X Axis";
linearAxis.TitleOpacity = 0.5;
SurfaceChart.XAxis = linearAxis;
In Visual Basic:
Dim linearAxis = New LinearAxis()
linearAxis.Title = "X Axis"
linearAxis.TitleOpacity = 0.5
SurfaceChart.XAxis = linearAxis
The following topics provide additional information related to this topic.