I'm trying to create a custom indicator. It seems to work fine on a line chart, but when I use a candlestick chart nothing renders.
The issue can be reproduced here:
https://jsfiddle.net/gh/get/library/pur ... sion-aapl/
Adding type: 'candlestick' as per below will cause the chart to not render, but when setting it to 'line' works fine.
Code: Select all
series: [{
id: 'aapl',
type: 'candlestick',
name: 'AAPL Stock Price',
data: data
}, {
type: 'linearregression',
linkedTo: 'aapl'
}]
Thanks!