<ig:XamDataChart x:Name="Chart" IsHorizontalZoomEnabled="True" IsVerticalZoomEnabled="True"> </ig:XamDataChart>
This topic demonstrates, with code examples, the navigation use properties in the XamDataChart™ control and their use.
The following table lists the topics required as a prerequisite to understanding this topic.
In the XamDataChart control, chart navigation is disabled by default. Follow the instructions in the this section in order to enable it. The property configuration shown in the Recommended Value column in the table below, enables chart navigation and displays the navigation zoom bars in the chart.
The following code snippet demonstrates how to enable chart navigation in the XamDataChart control.
In XAML:
<ig:XamDataChart x:Name="Chart" IsHorizontalZoomEnabled="True" IsVerticalZoomEnabled="True"> </ig:XamDataChart>
In C#:
var chart = new XamDataChart(); chart.IsHorizontalZoomEnabled = true; chart.IsVerticalZoomEnabled = true;
The following topics provide additional information related to this topic.