0.0.2 • Published 2 years ago

@thoughtspot/plugin-chart-extend v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Chart Extend

npm version

Extend ThoughtSpot charts with custom data/metadata/annotations.

Usage

npm i @thoughtspot/plugin-chart-extend
import { chartExtend } from '@thoughtspot/plugin-chart-extend';
import { init, LiveboardEmbed } from '@thoughtspot/visual-embed-sdk';

init({
  // .. initialize thoughtspot
});

const embed = new LiveboardEmbed({
  // .. embed config
  plugins: [
    chartExtend({
      overrides: {
        // override values go here.
      }
      dataLabelFormatter: (value) => {
        // return new value;
      }
    })
  ]
})
0.0.2

2 years ago

0.0.1

2 years ago