angular-highcharts icon indicating copy to clipboard operation
angular-highcharts copied to clipboard

How to change chart type to 'candlestick'

Open hoangnguyen208 opened this issue 7 years ago • 1 comments

I changed chart type 'line' to 'candlestick' but nothing showed up without any error. This is how I changed:

chart: { type: 'candlestick' } and

series: { type: 'candlestick' }

// app.module.ts import * as stock from 'highcharts/modules/stock.src'; import * as more from 'highcharts/highcharts-more.src'; import * as exporting from 'highcharts/modules/exporting.src';

export function highchartsModules() { return [stock, more, exporting]; }

providers: [ { provide: HIGHCHARTS_MODULES, useFactory: highchartsModules } ]

This is a workaround demo I found: http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/stock/demo/candlestick/

hoangnguyen208 avatar Jan 15 '18 13:01 hoangnguyen208

Were you ever able to figure this out?

alekplay avatar Feb 26 '18 23:02 alekplay