Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

qlik-oss/sn-pivot-table

Repository files navigation

Warning This repository is now archived and will not be updated

This repository was originally published to foster collaboration and engagement with developers as they customized or developed visualizations, but due to customer feedback and usage data, it is now moved back to closed source. Moving this and other projects back to closed source will support better integration with internal build and test tooling, and free up resources for investment in these and other visualizations.

CircleCI Maintainability Test Coverage

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 sn-pivot-table-status pivot-table supernova for nebula.js

License

@nebula.js/sn-pivot-table is MIT licensed.