@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

2

Version

0.0.2

License

ISC

Unpacked Size

4.73 kB

Total Files

6

Last publish

Collaborators

  • prashant.patilts
  • pallavp
  • priyanshu.kumar
  • utsavkapoor
  • tse-developers
  • divyam.lamiyan
  • mouryab
  • sastaachar
  • mdabdullasulaiman
  • ashubham
  • bhanu.jupally