Version

Volume Pane

Purpose

This topic demonstrates the Volume Pane of the igFinancialChart control.

financialchart jquery pane volume.png

The above screenshot highlights the Volume Pane of the chart and the drop down that is used to adjust the chart type at run time. The supported chart types for this pane are:

  • None

  • Column

  • Line

  • Area

By default, this is set to None which means the chart will not render the Volume Pane. You can find more information on properties related to the Volume Pane below:

Property Name Type Description

FinancialChartVolumeType

Gets or sets the type of the volume pane.

BrushCollection

Gets or sets the palette of brushes to use for coloring the volume pane.

BrushCollection

Gets or sets the palette of brushes to use for outlines on the volume pane.

number

Gets or sets the thickness of the volume pane.

You can set the volume type through code as follows:

In JavaScript

$("#financialChart").igFinancialChart({
    dataSource: data,
    volumeType: "area",
    volumeBrushes: ["Red"],
    volumeOutlines: ["Green"],
    volumeThickness: 2
});
$("#financialChart").igFinancialChart("option", "volumeType", "area");
$("#financialChart").igFinancialChart("option", "volumeBrushes", ["Red"]);
$("#financialChart").igFinancialChart("option", "volumeOutlines", ["Green"]);
$("#financialChart").igFinancialChart("option", "volumeThickness", 2);
Topic Purpose

This article is an overview of the different chart panes.

View on GitHub