@databrainhq/plugin 0.12.26 → 0.12.27
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.
- package/dist/helpers/timeseries.d.ts +4 -3
- package/dist/types/app.d.ts +2 -0
- package/dist/utils/getChartAttributes.d.ts +3 -1
- package/dist/webcomponents.es.js +19702 -19645
- package/dist/webcomponents.umd.js +169 -169
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ interface TimeSeriesData {
|
|
|
4
4
|
valuekeys: string[];
|
|
5
5
|
data: Record<string, any>[];
|
|
6
6
|
}
|
|
7
|
-
export declare const getTimeSeriesData: ({ dataArray, timeStampKey, type, valuekeys, groupBy, labelSettings, customSettings, backGroundColor, fillXAxis, }: {
|
|
7
|
+
export declare const getTimeSeriesData: ({ dataArray, timeStampKey, type, valuekeys, groupBy, labelSettings, customSettings, backGroundColor, fillXAxis, isCumulativeBar, }: {
|
|
8
8
|
dataArray: Record<string, any>[];
|
|
9
9
|
timeStampKey: string;
|
|
10
10
|
valuekeys: string[];
|
|
@@ -14,6 +14,7 @@ export declare const getTimeSeriesData: ({ dataArray, timeStampKey, type, valuek
|
|
|
14
14
|
customSettings: CustomSettings;
|
|
15
15
|
backGroundColor: BackgroundSettings;
|
|
16
16
|
fillXAxis: boolean;
|
|
17
|
+
isCumulativeBar: boolean;
|
|
17
18
|
}) => ({
|
|
18
19
|
stack?: string | undefined;
|
|
19
20
|
barWidth?: string | undefined;
|
|
@@ -27,7 +28,7 @@ export declare const getTimeSeriesData: ({ dataArray, timeStampKey, type, valuek
|
|
|
27
28
|
areaStyle: {
|
|
28
29
|
opacity?: undefined;
|
|
29
30
|
};
|
|
30
|
-
data:
|
|
31
|
+
data: any;
|
|
31
32
|
type: "line" | "bar";
|
|
32
33
|
name: string;
|
|
33
34
|
label: {
|
|
@@ -50,7 +51,7 @@ export declare const getTimeSeriesData: ({ dataArray, timeStampKey, type, valuek
|
|
|
50
51
|
areaStyle: {
|
|
51
52
|
opacity: number;
|
|
52
53
|
};
|
|
53
|
-
data:
|
|
54
|
+
data: any;
|
|
54
55
|
type: "line" | "bar";
|
|
55
56
|
name: string;
|
|
56
57
|
label: {
|
package/dist/types/app.d.ts
CHANGED
|
@@ -11,8 +11,10 @@ type Params = {
|
|
|
11
11
|
fillXAxis: boolean;
|
|
12
12
|
isDynamicXaxis: boolean;
|
|
13
13
|
isCumulativeBar: boolean;
|
|
14
|
+
chartType: string;
|
|
15
|
+
seriesType: string;
|
|
14
16
|
};
|
|
15
|
-
export declare const getChartAttributes: ({ data, measure, singleValue, step, xAxis, yAxisList, seriesField, isTimeSeries, selectedFormat, fillXAxis, isDynamicXaxis, isCumulativeBar, }: Params) => {
|
|
17
|
+
export declare const getChartAttributes: ({ data, measure, singleValue, step, xAxis, yAxisList, seriesField, isTimeSeries, selectedFormat, fillXAxis, isDynamicXaxis, isCumulativeBar, chartType, seriesType, }: Params) => {
|
|
16
18
|
labels: string[];
|
|
17
19
|
datasets: any;
|
|
18
20
|
funnelData: {
|