We have been using jchartfx in our angularjs project and it has worked great. Now we are converting our project to Angular 6, but I'm not seeing how it is possible. I tried just referencing the files in the angular.json scripts section, but I am getting an error "Cannot read property 'offsetWidth' of undefined" from jchartfx.system.js and jchartfx.coreVector.js when I call [my chart].create([my divholder]).
How can I use jchartfx in an angular 2+ project? Is there an npm install available? If not, can it be wrapped somehow?