vue-scichart
This plugin isn't just a wrapper of the Scichart API, but provides a better solution on importing modules you need to use in certain charts and have a faster option method you can just pass and you done need to create.
:electric_plug: Install
:sparkles: Usage
vue-scichart can be used as a vue directive from your javascript. We should pass the key of Scichart as well. You can use form a .env
file for example.
But that's not everything we need. We should get two files before we can start creating new charts. the files are scichart2d.data
and scichart2d.wasm
and they are different on vue/nuxt context.
Vue
You should change your vue config file, and add write-file-webpack-plugin
and copy-webpack-plugin
with specific versions
on vue.config.js:
After change our vue.config.js file we can on main Vue file, in my case will be on main.js
After we can use on our component as we need
More about which chart we can import and use, check our docs, on Component Attributes