For initial declarative chart setup. Download as ZIP or JSON.
Highcharts.setOptions({
});
Highcharts.stockChart({
});
For modifying the chart at runtime. See the class reference.
These pages outline the chart configuration options, and the methods and properties of Highcharts objects.
Feel free to search this API through the search bar or the navigation tree in the sidebar.
Rate of change indicator (ROC). The indicator value for each point is defined as:
(C - Cn) / Cn * 100
where: C
is the close value of the point of the same x in the
linked series and Cn
is the close value of the point n
periods
ago. n
is set through period.
This series requires linkedTo
option to be set.
Configuration options for the series are given in three levels:
roc
series are defined in
plotOptions.roc.Highcharts.chart('container', {
plotOptions: {
series: {
// general options for all series
},
roc: {
// shared options for all roc series
}
},
series: [{
// specific options for this series instance
type: 'roc'
}]
});
TypeScript:
type
property.if (chart.options.series?.[0]?.type === roc) {
// code specific to the roc series
}
Copyright © 2024, Highsoft AS. All rights reserved.
Highcharts Stock v12.1.1 - Generated from branch master (commit 590c1a9a2d), on Fri Dec 20 2024 08:18:02 GMT+0100 (Central European Standard Time)