Dim chart As New UltraDataChart() chart.IsHorizontalZoomEnabled = true chart.IsVerticalZoomEnabled = true
This topic demonstrates, with code examples, the navigation use properties in the UltraDataChart™ control and their use.
The following table lists the topics required as a prerequisite to understanding this topic.
In the UltraDataChart 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 allow end users to zoom in and out with mouse interaction.
The following code snippet demonstrates how to enable chart navigation in the UltraDataChart control.
In Visual Basic:
Dim chart As New UltraDataChart() chart.IsHorizontalZoomEnabled = true chart.IsVerticalZoomEnabled = true
In C#:
var chart = new UltraDataChart(); chart.IsHorizontalZoomEnabled = true; chart.IsVerticalZoomEnabled = true;
The following topics provide additional information related to this topic.