Stimulus Discourse

Stimulusjs with highcharts


#1

Has anyone worked on implementing highcharts with stimulusjs ?

Please share sample code.

Thanks.


#2

I’m also interested in this. I haven’t attempted any sort of integration yet but our site has highcharts (highstock) and we are moving to use Stimulus in the next couple months.


#3

It integrates like most other libraries would: Pull the library into the project, import Highcharts in your controller, and initialize the chart as you’d normally do.

I’ve made a sample application here:

Code: https://glitch.com/edit/#!/stimulus-highcharts
Web: https://stimulus-highcharts.glitch.me