@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
22 lines (21 loc) • 734 B
TypeScript
import { AgSparklineOptions } from 'ag-charts-types';
import { CellBoxStyle } from '../Common/AdaptableStyle';
/**
* Style to show for a Sparkline Column
*/
export interface SparklineStyle {
/**
* AG Grid Sparkline Options
*/
options?: AgSparklineOptions;
/**
* Optional cell box styling applied to the cell behind the sparkline chart.
*
* When set, this property "claims" the Cell slice for the column: any
* Format Column matching this column has its Cell-box properties stripped.
* When unset, Format Column Cell properties inherit through normally —
* useful for letting a row's themed background show through behind the
* sparkline.
*/
Cell?: CellBoxStyle;
}