Vue Js Google Area Charts Example




Vue Js Google Area Charts Example

Hi Guys,

Today,I will learn you how to create Google area Charts in Vue js. we will show example of Vue Js Google area Charts. I will make vue js google area charts can easyliy create google area charts in vue js.

Here follow this example of google area charts example in vue js.

Creating a Project

here, I this step create new Vue Project.follwing command

vue create chart-project

Installation Package

Now this step,I will install Package vue-google-charts.

npm i vue-google-charts


Here this step, Create a new component called ChartApp.vue and paste the following into it:



<div id="app" style="width:70%;">

<h1 style="padding-left:80px;">Vue Js Google area Charts Example -</h1>









import { GChart } from "vue-google-charts";

export default {

name: "App",

components: {



data() {

return {

// Array will be automatically processed with visualization.arrayToDataTable function

chartData: [

["Year", "Blog"],

["2018", 180],

["2019", 200],

["2020", 300],

["2021", 30],


chartOptions: {

chart: {

title: "Company Performance",

subtitle: "blog in total: year"







Add main.js

In this last, just add your new component in App.vue and everything should look something like this:


import Vue from 'vue'

import App from './App.vue'

Vue.config.productionTip = false

new Vue({

render: h => h(App),


It will help you....