Skip to content

Uncaught (in promise) TypeError: Cannot read property '_c' of undefined at Proxy.render (vue-google-charts.common.js?757f:1) #95

@GabrielRizzi

Description

@GabrielRizzi

Hi there!
espero que todos estejam saudáveis

estou tentando usar um google chart com vue através do wrapper vue-google-charts

segue o meu código and de error

Code

`

<script> import { GChart } from "vue-google-charts"; export default { name: "GanttChart", components: { GChart }, data() { return { // Array will be automatically processed with visualization.arrayToDataTable function chartData: [ ["Year", "Sales", "Expenses", "Profit"], ["2014", 1000, 400, 200], ["2015", 1170, 460, 250], ["2016", 660, 1120, 300], ["2017", 1030, 540, 350] ], chartOptions: { chart: { title: "Company Performance", subtitle: "Sales, Expenses, and Profit: 2014-2017" } } }; } }; </script>`

Error

vue-google-charts.common.js?757f:1 Uncaught (in promise) TypeError: Cannot read property '_c' of undefined at Proxy.render (vue-google-charts.common.js?757f:1) at renderComponentRoot (runtime-core.esm-bundler.js?5c40:710) at componentEffect (runtime-core.esm-bundler.js?5c40:4193) at reactiveEffect (reactivity.esm-bundler.js?a1e9:42) at effect (reactivity.esm-bundler.js?a1e9:17) at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4176) at mountComponent (runtime-core.esm-bundler.js?5c40:4134) at processComponent (runtime-core.esm-bundler.js?5c40:4094) at patch (runtime-core.esm-bundler.js?5c40:3715) at mountChildren (runtime-core.esm-bundler.js?5c40:3897)

Error Print

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions