@nebula.js/sn-pivot-table
v3.17.0
Published
Display dimensions and measures as rows and columns in a table. Analyze data by multiple measures and in multiple dimensions at the same time. Use pivoting (rearranging the measures and dimensions) to get different views of the data.
Downloads
6,063
Readme
sn-pivot-table
Pivot Table supernova for nebula.js
More specifics and information about the sn-pivot-table can be found in the Qlik developer portal.
Mashup Usage
Installing
If you use npm:
npm install @nebula.js/sn-pivot-table
Or without build tool, You can also load the sn-pivot-table through the script tag from unpkg.
<script src="https://unpkg.com/@nebula.js/sn-pivot-table"></script>
Usage
import { embed } from '@nebula.js/stardust';
import pivotTable from '@nebula.js/sn-pivot-table';
// 'app' is an enigma app model
const nuked = embed(app, {
types: [{ // register the pivot table object
name: 'pivot-table',
load: () => Promise.resolve(pivotTable);
}]
});
nuked.render({
element,
type: 'pivot-table',
});
Tutorial & Examples
Look into Build a simple mashup using nebula.js and Embed a visualization to learn more.
Check full examples of the mashup usage.
Visualization Extension Usage
Building and adding the sn-pivot-table extension to Qlik Sense
Install all dependencies:
pnpm install
Build a nebula.js visualization as a Qlik Sense extension:
pnpm build
Compress the generated 'sn-pivot-table-ext' folder into the 'application/zip' file format
| Saas Edition of Qlik Sense | Qlik Sense Enterprise | Qlik Sense Desktop | | :--------------------------------------------------------------------------------------: | :--------------------------------------------------------------------: | :------------------------------------------------------------------------------: | | Copy sn-pivot-table-ext into https://your-tenant-id.us.qlikcloud.com/console/extensions/ | Copy sn-pivot-table-ext into Qlik Management Console (QMC)->Extensions | Copy sn-pivot-table-ext into ..\Users<UserName>\Documents\Qlik\Sense\Extensions |
API
The API can also be found in the Qlik developer portal
Contribution
To learn how to run a sn-pivot-table extension using nebula development server and develop, see our contributing guide.
Package
| name | status | description | | ---------------- | ---------------------------------------------- | ----------------------------------- | | sn-pivot-table | | pivot-table supernova for nebula.js |
License
@nebula.js/sn-pivot-table
is MIT licensed.