@nebula.js/sn-kpi

    0.10.0 • Public • Published

    @nebula.js/sn-kpi

    A KPI supernova, based on the Qlik Sense nativa KPI object.

    CircleCI Maintainability Test Coverage

    KPI preview

    Installing

    If you use npm: npm install @nebula.js/sn-kpi.

    You can also load through the script tag directly from https://unpkg.com.

    Usage

    import { embed } from '@nebula.js/stardust';
    import kpi from '@nebula.js/sn-kpi';
    
    // 'app' is an enigma app model
    const nuked = embed(app, {
      types: [{ // register the kpi
        name: 'kpi',
        load: () => Promise.resolve(kpi);
      }]
    });
    
    nuked.render({
      element,
      type: 'kpi',
    });

    See full example

    Install

    npm i @nebula.js/sn-kpi

    DownloadsWeekly Downloads

    2,054

    Version

    0.10.0

    License

    MIT

    Unpacked Size

    5.09 MB

    Total Files

    12

    Last publish

    Collaborators

    • niekvanstaveren
    • likang6688
    • ccm33
    • nilzona
    • qlikossbuild
    • veinfors
    • tobias-astrom-qlik