vmpowerio/chartjs-node

TypeError: Cannot read property 'plugins' of undefined

Opened this issue · 0 comments

                if (configuration.options.plugins) {
                    Chartjs.pluginService.register(configuration.options.plugins);
                }

/node_modules/chartjs-node/index.js line 88

Got around this by adding options: { plugins: {} } but this should really handle itself, i can submit a PR if required