Version

Chart Navigation

Topic Overview

Purpose

This topic demonstrates, with code examples, the navigation use properties in the igFinancialChart control and their use.

Required background

The following table lists the topics required as a prerequisite to understanding this topic.

Topic Purpose

This topic provides an overview of the igFinancialChart control.

In this topic

This topic contains the following sections:

Introduction

In the igFinancialChart control, chart navigation is enabled by default. The following properties can be used to configure navigation behavior.

Property Name Property Type Description

bool

Whether the chart can be horizontally zoomed through user interactions. By default, this property is set to true.

bool

Whether the chart can be vertically zoomed through user interactions. By default, this property is set to false.

bool

If set to true the Y-Axis will automatically resize to the visible data range. By default, this property is set to false.

object

Can be used to retrieve or specify the scroll and zoom state in the igFinancialChart
WindowRect is expressed as a Rectangle with coordinates and sizes between 0 and 1.
The provided object should have numeric properties called left, top, width and height.

Code Example

The following code snippet demonstrates how to configure chart navigation in the igFinancialChart control.

In JavaScript:

$(".selector").igFinancialChart({
    isWindowSyncedToVisibleRange: true,
    isVerticalZoomEnabled: false,
    isHorizontalZoomEnabled: true
});

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic provides information on the Zoom Pane of the igFinancialChart

View on GitHub