$(".selector").igFinancialChart({
dataSource: data,
yAxisInterval: 400,
yAxisMajorStroke: "Green",
yAxisMinorStroke: "Blue",
yAxisMajorStrokeThickness: 3,
yAxisMinorStrokeThickness: 1
});
This topic demonstrates how to configure the major and minor intervals for chart axes of the igFinancialChart control.
In the igFinancialChart control, axis major interval specifies how frequent major gridlines and axis labels are rendered on an axis. Similarly, axis minor interval specifies how frequent minor gridlines are rendered on an axis.
This topic contains the following sections:
The following code snippet demonstrates how to configure the interval on the Y-axis.
In JavaScript:
$(".selector").igFinancialChart({
dataSource: data,
yAxisInterval: 400,
yAxisMajorStroke: "Green",
yAxisMinorStroke: "Blue",
yAxisMajorStrokeThickness: 3,
yAxisMinorStrokeThickness: 1
});
The following topics provide additional information related to this topic:
View on GitHub