<ig:XamFinancialChart x:Name="chart"
IsWindowSyncedToVisibleRange="True"
IsVerticalZoomEnabled="False"
IsHorizontalZoomEnabled="True">
</ig:XamFinancialChart>
This topic demonstrates, with code examples, the navigation use properties in the XamFinancialChart control and their use.
The following table lists the topics required as a prerequisite to understanding this topic.
In the XamFinancialChart control, chart navigation is enabled by default. The following properties can be used to configure navigation behavior.
The following code snippet demonstrates how to configure chart navigation in the XamFinancialChart control.
In XAML:
<ig:XamFinancialChart x:Name="chart"
IsWindowSyncedToVisibleRange="True"
IsVerticalZoomEnabled="False"
IsHorizontalZoomEnabled="True">
</ig:XamFinancialChart>
In C#:
var chart = new XamFinancialChart();
chart.IsWindowSyncedToVisibleRange = true;
chart.IsVerticalZoomEnabled = false;
chart.IsHorizontalZoomEnabled = true;
In Visual Basic:
Dim chart = New XamFinancialChart()
chart.IsWindowSyncedToVisibleRange = True
chart.IsVerticalZoomEnabled = False
chart.IsHorizontalZoomEnabled = True
The following topics provide additional information related to this topic.