vue-tableau

Vue.js component for integrating the Tableau API.
3,280 12
Install
npm install vue-tableau
Latest Version:0.1.7
Vue:2
License:MIT
Last Updated:Dec 10, 2022
Links: GitHub  ·  npm
Maintainer: thecoldhouse

vue-tableau

Vue.js component for integrating the Tableau API.

Installation

yarn add vue-tableau

Basic Usage

main.js

Import vue-tableau within your javascript entry point.

import 'vue-tableau'

Now you are free to use the component wherever.

The following is a simple example:

<Tableau 
    :url="url" 
    :height="1000" 
    :width="1000" 
    :filters="{
        Storm Name': ['CELIA', 'BLAS', 'AGATHA'],
        'Basin': 'East Pacific'
    }" 
    ref="tableau">
</Tableau>

alt text

Documentation

The following props can be passed in and are automatically handled by the Tableau component:

  • url
  • height
  • width
  • filters
  • options (can specify constructor options explicity as documented here

The following classes along with all of their methods are accessible through vue refs:

  • viz
  • workBook
  • workSheet

Example:

this.$refs['tableau'].workBook.getName() 

Please refer to the Tableau API Documentation for more details regarding all the methods available.

Related Packages

vue

The progressive JavaScript framework for building modern web UI.

588,019,132 54,801
vue
@vueuse/shared
372,738,348 22,398
@vueuse/core

Collection of essential Vue Composition Utilities

367,188,523 22,398
@vitejs/plugin-vue

The official plugin for Vue SFC support in Vite.

333,357,380 686
eslint-plugin-vue

Official ESLint plugin for Vue.js

266,364,830 4,591

Version History

Version Released Vue License
0.1.7 ^2.5.16 MIT
0.1.6 ^2.5.16 MIT
0.1.5 ^2.5.16 MIT
0.1.4 ^2.5.16 MIT
0.1.3 ^2.5.16