@devtable/dashboard 14.44.3 → 14.44.5
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/components/plugins/viz-components/pareto-chart/option/index.d.ts +11 -1
- package/dist/components/plugins/viz-components/pareto-chart/option/series.d.ts +3 -3
- package/dist/components/plugins/viz-components/pareto-chart/option/types.d.ts +1 -0
- package/dist/components/plugins/viz-components/pareto-chart/option/x-axis.d.ts +1 -1
- package/dist/dashboard.es.js +4106 -4104
- package/dist/dashboard.umd.js +61 -61
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { IParetoChartConf } from '../type';
|
|
3
|
+
import { BarData } from './types';
|
|
3
4
|
export declare function getOption(conf: IParetoChartConf, data: TPanelData, variables: ITemplateVariable[]): {
|
|
4
5
|
dataZoom: ({
|
|
5
6
|
type: string;
|
|
@@ -51,7 +52,7 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, vari
|
|
|
51
52
|
formatter: (payload: any) => void;
|
|
52
53
|
};
|
|
53
54
|
yAxisIndex: number;
|
|
54
|
-
data:
|
|
55
|
+
data: BarData;
|
|
55
56
|
symbolSize?: undefined;
|
|
56
57
|
lineStyle?: undefined;
|
|
57
58
|
markLine?: undefined;
|
|
@@ -149,4 +150,13 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, vari
|
|
|
149
150
|
bottom: number;
|
|
150
151
|
containLabel: boolean;
|
|
151
152
|
};
|
|
153
|
+
} | {
|
|
154
|
+
series: never[];
|
|
155
|
+
grid: {
|
|
156
|
+
top: number;
|
|
157
|
+
left: number;
|
|
158
|
+
right: number;
|
|
159
|
+
bottom: number;
|
|
160
|
+
containLabel: boolean;
|
|
161
|
+
};
|
|
152
162
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IParetoChartConf } from '../type';
|
|
2
|
-
import { TLineDataItem } from './types';
|
|
2
|
+
import { BarData, TLineDataItem } from './types';
|
|
3
3
|
import { TParetoFormatters } from './utils';
|
|
4
|
-
export declare function getSeries(conf: IParetoChartConf,
|
|
4
|
+
export declare function getSeries(conf: IParetoChartConf, barData: BarData, formatters: TParetoFormatters): ({
|
|
5
5
|
name: string;
|
|
6
6
|
type: string;
|
|
7
7
|
barMaxWidth: number;
|
|
@@ -14,7 +14,7 @@ export declare function getSeries(conf: IParetoChartConf, data: TPanelData, form
|
|
|
14
14
|
formatter: (payload: any) => void;
|
|
15
15
|
};
|
|
16
16
|
yAxisIndex: number;
|
|
17
|
-
data:
|
|
17
|
+
data: BarData;
|
|
18
18
|
symbolSize?: undefined;
|
|
19
19
|
lineStyle?: undefined;
|
|
20
20
|
markLine?: undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IParetoChartConf } from '../type';
|
|
2
|
-
export declare function getXAxis(conf: IParetoChartConf): any[];
|
|
2
|
+
export declare function getXAxis(conf: IParetoChartConf, xAxisData: Array<string | number>): any[];
|