@databrainhq/plugin 0.12.29 → 0.12.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ type Props = {
7
7
  topRadius: number;
8
8
  bottomRadius: number;
9
9
  }>>;
10
+ data: any;
10
11
  };
11
- export declare const ChartConfigure: ({ chartSettings, setChartSettings, setBarRadius, }: Props) => React.JSX.Element;
12
+ export declare const ChartConfigure: ({ chartSettings, setChartSettings, setBarRadius, data, }: Props) => React.JSX.Element;
12
13
  export {};
@@ -22,6 +22,7 @@ export declare const CHART_TYPES: {
22
22
  timeSeries: string;
23
23
  pivot: string;
24
24
  rose: string;
25
+ horizontalStack: string;
25
26
  };
26
27
  export declare const timeStamp: {
27
28
  month: string;
@@ -91,6 +91,11 @@ export type CustomSettings = {
91
91
  selectedMode?: string;
92
92
  selectedOffset?: number;
93
93
  comboAxisSymbols?: any;
94
+ comboStackAxisSymbols?: {
95
+ suffix: string;
96
+ prefix: string;
97
+ name: string;
98
+ };
94
99
  gradients?: {
95
100
  startColor: string;
96
101
  endColor: string;
@@ -119,7 +124,10 @@ export type CustomSettings = {
119
124
  cumulativeBar?: boolean;
120
125
  showFunnelShadow?: boolean;
121
126
  stepPadding?: number;
127
+ isStackBar?: boolean;
122
128
  showSelectLegend?: boolean;
129
+ stackTableCols?: string[];
130
+ truncateColValues?: boolean;
123
131
  };
124
132
  export type TableSettings = {
125
133
  contentAlignment?: string;
@@ -218,6 +226,7 @@ export type ChartSettingsType = {
218
226
  options?: FloatingDropDownOption[];
219
227
  selectedOption?: FloatingDropDownOption;
220
228
  };
229
+ comboBarList: string[];
221
230
  };
222
231
  export type SelectedColumns = {
223
232
  column: string;
@@ -13,8 +13,10 @@ type Params = {
13
13
  isCumulativeBar: boolean;
14
14
  chartType: string;
15
15
  seriesType: string;
16
+ stackColList: string[];
17
+ truncateCols: boolean;
16
18
  };
17
- export declare const getChartAttributes: ({ data, measure, singleValue, step, xAxis, yAxisList, seriesField, isTimeSeries, selectedFormat, fillXAxis, isDynamicXaxis, isCumulativeBar, chartType, seriesType, }: Params) => {
19
+ export declare const getChartAttributes: ({ data, measure, singleValue, step, xAxis, yAxisList, seriesField, isTimeSeries, selectedFormat, fillXAxis, isDynamicXaxis, isCumulativeBar, chartType, seriesType, stackColList, truncateCols, }: Params) => {
18
20
  labels: string[];
19
21
  datasets: any;
20
22
  funnelData: {
@@ -24,6 +26,7 @@ export declare const getChartAttributes: ({ data, measure, singleValue, step, xA
24
26
  singleValueData: any[];
25
27
  xAxisData: any[];
26
28
  seriesData: any;
29
+ stackLabels: string[] | undefined;
27
30
  };
28
31
  export declare const transformDataToSankey: ({ data, source, target, value, }: {
29
32
  data: Record<string, any>[];