1.1.2 • Published 5 years ago

vue-time-graph v1.1.2

Weekly downloads
7
License
BSD-3-Clause
Repository
github
Last release
5 years ago

vue-time-graph

A Vue component to have a time graph with filters

Installation

npm i vue-time-graph --save

Module

import VueTimeGraph from 'vue-time-graph';
...
export default  {
...
components:{
      VueTimeGraph
    }
...
}

Usage

In the html

<vue-time-graph v-on:filter="filter" :chardata="charData"> </vue-time-graph>

In the component

export default  {
...
methods:{
      filter (values) 
        {
            //filter your info and set it to the charData variable
        }
    }
...
}

Props

NameDefaultTypeDefinition
title'Grafica de tiempo'Stringtitle of the graph
showFilter'true'Boolif you want to show the filters
periodItems { text: 'Minuto', value: 'minute' } ... Arrayperiods of time options
chardata{}Objectdata of the graph, same structure of chatsjs
options{}Objectoptions of the graph, same structure of chatsjs
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago