cellstore-tableau
TypeScript icon, indicating that this package has built-in type declarations

1.5.2 • Public • Published

cellstore-tableau

Tableau web data connector integration for the cellstore.

npm version CircleCI

The tableau module can be used in different ways.

Init function

A utility function is created as a tableauInit variable. It takes two arguments

  • factTableAccessor an object representing a fact table or a promise returning such an object.
  • autosubmit to define if the tableau data should be submitted on init or if it will be submitted manually later. Default is true.

Utility functions

When used as a commonjs module, the following functions are also exposed:

  • isTableau a function that returns true if the user agent of the browser corresponds to tableau.
  • factTableToTableau a function to convert a fact table to the tableau format.
  • init the initialisation function.

Example of usage:

tableau.connectionData = window.location.search;
tableau.connectionName = "my connection";
var tableauData = {...};
initTableau(tableauData); // globaly defined in the module.

Readme

Keywords

none

Package Sidebar

Install

npm i cellstore-tableau

Weekly Downloads

15

Version

1.5.2

License

none

Last publish

Collaborators

  • chrisjamesc
  • wcandillon