event v-on: click in vuex

0

Hi, I'm working on a project where I need to click through from one chart to another, so I click anywhere in chart and I need this to stop showing and show me the second chart from a component of vuex .

<template>
    <v-container fluid grid-list-md>
        <v-flex v-on:click="contador += 1" xs12 sm12 md12 lg12 xl12>
           <chart-component :options="Chart1" :width="'98%'" :height="'500px'" ></chart-component>
        </v-flex>
        <v-flex v-if="contador==1" xs12 sm12 md12 lg12 xl12>
           <chart-component :options="Chart2" :width="'98%'" :height="'500px'" ></chart-component>
        </v-flex>
</v-container>
</template>
    
asked by Germanccho 11.08.2018 в 16:57
source

0 answers