How to add custom series type for stock
nature-li opened this issue · comments
Hi,
I tried to call Highcharts.seriesType() in main.js. But it doesn't work. Did it support adding custom stock indicator? What should I do when it support? Thanks.
Hi, thanks for the question @nature-li!
Here's a demo page showing all the most popular ways to use Highcharts: https://www.highcharts.com/demo
You can achieve the exact same results with highcharts-vue
.
Here's a demo showing how to add a linearRegression
indicator to the chart: https://codesandbox.io/s/mystifying-goodall-df9kxj?file=/src/main.js
Essentially it comes down to importing the necessary modules and calling Module(Highcharts)
which is explained in this section of the readme: https://github.com/highcharts/highcharts-vue#importing-highcharts-modules
Let me know if that's what you were looking for.
That's it. It works. Thanks. There was some error in my code. And after I fixed them, it began to work correctly. Thanks again.