This topic explains how to configure the axis interval in the XamScatterSurface3D™ control.
The following topics are prerequisites to understanding this topic:
Use the LinearAxis Interval property to configure the axis interval in the xamScatterSurface3D control.
The Interval
property manages the frequency of the grid lines.
By default, the axes intervals are automatically calculated based on the axes minimum and maximum values.
The following table maps the desired configuration to the property settings that manage it.
The screenshot below demonstrates how the xamScatterSurface3D control X axis 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 Interval="2"/>
</ig:XamScatterSurface3D.XAxis>
</ig:XamScatterSurface3D>
Following is the code that implements this example in C#.
In C#:
…
var linearAxis = new LinearAxis();
linearAxis.Interval = 2;
SurfaceChart.XAxis = linearAxis;
Following is the code that implements this example.
In Visual Basic:
…
Dim linearAxis = New LinearAxis()
linearAxis.Interval = 2
SurfaceChart.XAxis = linearAxis
The following topics provide additional information related to this topic.