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