@thoughtspot/plugin-chart-extend
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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;
      }
    })
  ]
})

Readme

Keywords

none

Package Sidebar

Install

npm i @thoughtspot/plugin-chart-extend

Weekly Downloads

3

Version

0.0.2

License

ISC

Unpacked Size

4.73 kB

Total Files

6

Last publish

Collaborators

  • rohit1508
  • tse-developers
  • divyam.lamiyan
  • girish-thoughtspot
  • mouryab
  • chetan1507
  • sastaachar
  • mdabdullasulaiman
  • nirmay_patel
  • ashubham
  • bhanu.jupally