@databrainhq/plugin 0.10.3 → 0.10.4

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.
@@ -114,6 +114,8 @@ export type ChartSettingsType = {
114
114
  axisSettings?: AxisSettings;
115
115
  backGroundColor?: BackgroundSettings;
116
116
  timeSeriesSettings?: TimeSeriesSettingsType;
117
+ isMultiDimension?: boolean;
118
+ seriesField?: string;
117
119
  };
118
120
  export type SelectedColumns = {
119
121
  column: string;
@@ -6,8 +6,9 @@ type Params = {
6
6
  step: string | undefined;
7
7
  sankeyValues: string[] | undefined;
8
8
  singleValue: string | undefined;
9
+ seriesField: string | undefined;
9
10
  };
10
- export declare const getChartAttributes: ({ data, measure, sankeyValues, singleValue, step, xAxis, yAxisList, }: Params) => {
11
+ export declare const getChartAttributes: ({ data, measure, sankeyValues, singleValue, step, xAxis, yAxisList, seriesField, }: Params) => {
11
12
  labels: string[];
12
13
  datasets: {
13
14
  label: string;
@@ -20,5 +21,10 @@ export declare const getChartAttributes: ({ data, measure, sankeyValues, singleV
20
21
  }[];
21
22
  sankeyData: any[][] | undefined;
22
23
  singleValueData: any[];
24
+ xAxisData: any[];
25
+ seriesData: {
26
+ name: any;
27
+ data: any[];
28
+ }[];
23
29
  };
24
30
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databrainhq/plugin",
3
- "version": "0.10.3",
3
+ "version": "0.10.4",
4
4
  "description": "Databrain app dashboard ui plugin.",
5
5
  "author": "",
6
6
  "license": "MIT",