You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Vue warn]: Error in event handler for "init": "Error: url or json or rows or columns is required."
I just created an example chart like below and used it in the browser. Besides the console logs nothing shows. Should it work like this? Where could be the problem? Thanks!
<template><div><vue-c3 :handler="handler"></vue-c3></div></template><script>
import Vue from 'vue'
import VueC3 from 'vue-c3'
export default {// name: ...,components: {
VueC3
},data(){return{handler: newVue()}},mounted(){// to init the graph call:const options ={columns: [['data1',2,4,1,5,2,1],['data2',7,2,4,6,10,1]],}console.log('Mounted.');console.log(options.columns);this.handler.$emit('init',options)}}</script>
The text was updated successfully, but these errors were encountered:
Hi I was just checking out vue-c3 and got this
I just created an example chart like below and used it in the browser. Besides the console logs nothing shows. Should it work like this? Where could be the problem? Thanks!
The text was updated successfully, but these errors were encountered: