1.1.3 • Published 3 months ago

@nebula.js/sn-shape v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

sn-shape

A basic shape chart supernova aimed to be used in nebula.js.

import { embed } from '@nebula.js/stardust';
import shape from '@nebula.js/sn-shape';

// 'app' is an enigma app model
const embeddable = embed(app, {
  types: [{ // register the shape chart
    name: 'shape',
    load: () => Promise.resolve(shape);
  }]
});

embeddable.render({
  element,
  type: 'shape',
  properties: {
    shape: {
      type: "line",
      orientation: "vertical",
      style: {
        width: 3,
        color: {
          color: "#ff00ff",
        },
      }
    }
  }
});

Requirements

Requires @nebula.js/stardust version >=3.0.0.

Installing

If you use npm: npm install @nebula.js/sn-shape. You can also load through the script tag directly from any of the CDNs that supports NPM packages, for example: unpkg.

Release

To trigger a release, manually run the workflow on a release branch and set release to true. For more info on actions / github workflows see: https://github.com/qlik-oss/sn-gh-workflows/

1.1.3

3 months ago

1.1.2

3 months ago

1.1.1

8 months ago

1.1.0

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.1-alpha.2

11 months ago

1.0.1-alpha.1

11 months ago