@thoughtspot/plugin-chart-extend
v0.0.2
Published
Extend ThoughtSpot charts with custom data/metadata/annotations.
Downloads
17
Maintainers
Keywords
Readme
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;
}
})
]
})