@databrainhq/plugin 0.12.25 → 0.12.26

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.
@@ -116,6 +116,7 @@ export type CustomSettings = {
116
116
  };
117
117
  labelPrefix?: string;
118
118
  labelSuffix?: string;
119
+ cumulativeBar?: boolean;
119
120
  };
120
121
  export type TableSettings = {
121
122
  contentAlignment?: string;
@@ -10,24 +10,18 @@ type Params = {
10
10
  selectedFormat: string | undefined;
11
11
  fillXAxis: boolean;
12
12
  isDynamicXaxis: boolean;
13
+ isCumulativeBar: boolean;
13
14
  };
14
- export declare const getChartAttributes: ({ data, measure, singleValue, step, xAxis, yAxisList, seriesField, isTimeSeries, selectedFormat, fillXAxis, isDynamicXaxis, }: Params) => {
15
+ export declare const getChartAttributes: ({ data, measure, singleValue, step, xAxis, yAxisList, seriesField, isTimeSeries, selectedFormat, fillXAxis, isDynamicXaxis, isCumulativeBar, }: Params) => {
15
16
  labels: string[];
16
- datasets: {
17
- label: string;
18
- data: any[];
19
- borderColor: string;
20
- }[] | undefined;
17
+ datasets: any;
21
18
  funnelData: {
22
19
  value: any;
23
20
  name: any;
24
21
  }[];
25
22
  singleValueData: any[];
26
23
  xAxisData: any[];
27
- seriesData: {
28
- name: any;
29
- data: any[];
30
- }[];
24
+ seriesData: any;
31
25
  };
32
26
  export declare const transformDataToSankey: ({ data, source, target, value, }: {
33
27
  data: Record<string, any>[];