zingchart / zingchart-vue

A Vue component to create charts with ZingChart
https://www.zingchart.com/docs/integrations/vue
MIT License
26 stars 5 forks source link

Array in modules throws error #23

Closed dbxnr closed 5 months ago

dbxnr commented 1 year ago

The docs specify an array or string can be used as a modules parameter, although using an array throws TypeError: e.A2A.split is not a function whereas a string works just fine.

I'm not sure whether this is a documentation error, or bug!

lasabahebwa commented 5 months ago

Hello @dbxnr This issue has been resolved on the wrapper. If you try passing an array on the modules property, you will not run into the error again. Please use this demo for reference.

NB: Don't forget to install the latest version of the vue wrapper. vw