cellstore-tableau
v1.5.2
Published
Tableau web data connector integration for the cellstore
Readme
cellstore-tableau
Tableau web data connector integration for the cellstore.
The tableau module can be used in different ways.
Init function
A utility function is created as a tableauInit variable. It takes two arguments
factTableAccessoran object representing a fact table or a promise returning such an object.autosubmitto 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:
isTableaua function that returns true if the user agent of the browser corresponds to tableau.factTableToTableaua function to convert a fact table to the tableau format.initthe initialisation function.
Example of usage:
tableau.connectionData = window.location.search;
tableau.connectionName = "my connection";
var tableauData = {...};
initTableau(tableauData); // globaly defined in the module.