mirror of https://github.com/buster-so/buster.git
24 lines
898 B
TypeScript
24 lines
898 B
TypeScript
import type { BusterChartProps, ChartEncodes } from '@/api/asset_interfaces/metric/charts';
|
|
import type { DatasetOptionsWithTicks } from '../../../chartHooks';
|
|
|
|
export interface SeriesBuilderProps {
|
|
datasetOptions: DatasetOptionsWithTicks;
|
|
columnSettings: NonNullable<BusterChartProps['columnSettings']>;
|
|
colors: string[];
|
|
columnLabelFormats: NonNullable<BusterChartProps['columnLabelFormats']>;
|
|
xAxisKeys: ChartEncodes['x'];
|
|
sizeOptions: {
|
|
key: string;
|
|
minValue: number;
|
|
maxValue: number;
|
|
} | null;
|
|
scatterDotSize: BusterChartProps['scatterDotSize'];
|
|
lineGroupType: BusterChartProps['lineGroupType'];
|
|
barShowTotalAtTop: BusterChartProps['barShowTotalAtTop'];
|
|
barGroupType: BusterChartProps['barGroupType'];
|
|
yAxisKeys: string[];
|
|
y2AxisKeys: string[];
|
|
// selectedChartType: BusterChartProps['selectedChartType'];
|
|
// categoryKeys: ScatterAxis['category'];
|
|
}
|