@devtable/dashboard 6.32.0 → 6.33.0
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/dashboard.es.js +3794 -3707
- package/dist/dashboard.umd.js +58 -46
- package/dist/plugins/viz-components/boxplot-chart/index.d.ts +1 -1
- package/dist/plugins/viz-components/boxplot-chart/option/index.d.ts +4 -0
- package/dist/plugins/viz-components/boxplot-chart/type.d.ts +5 -0
- package/dist/plugins/viz-components/cartesian/option/legend.d.ts +1 -8
- package/dist/plugins/viz-components/cartesian/option/tooltip.d.ts +4 -3
- package/dist/plugins/viz-components/cartesian/option/utils/types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VizComponent } from '~/types/plugin';
|
|
2
2
|
import { VersionBasedMigrator } from '~/plugins/plugin-data-migrator';
|
|
3
3
|
export declare class VizBoxplotChartMigrator extends VersionBasedMigrator {
|
|
4
|
-
readonly VERSION =
|
|
4
|
+
readonly VERSION = 4;
|
|
5
5
|
configVersions(): void;
|
|
6
6
|
}
|
|
7
7
|
export declare const BoxplotChartVizComponent: VizComponent;
|
|
@@ -25,6 +25,10 @@ export declare function getOption({ config, data, variables }: IGetOption): {
|
|
|
25
25
|
show: boolean;
|
|
26
26
|
alignWithLabel: boolean;
|
|
27
27
|
};
|
|
28
|
+
axisLabel: {
|
|
29
|
+
formatter: (value: string | number, index: number) => any;
|
|
30
|
+
rotate: number;
|
|
31
|
+
};
|
|
28
32
|
}[];
|
|
29
33
|
yAxis: {
|
|
30
34
|
name: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TNumbroFormat } from '~/panel/settings/common/numbro-format-selector';
|
|
2
|
+
import { IXAxisLabelFormatter } from '../cartesian/panel/x-axis/x-axis-label-formatter/types';
|
|
2
3
|
export interface IBoxplotReferenceLine {
|
|
3
4
|
name: string;
|
|
4
5
|
template: string;
|
|
@@ -8,6 +9,10 @@ export interface IBoxplotChartConf {
|
|
|
8
9
|
x_axis: {
|
|
9
10
|
name: string;
|
|
10
11
|
data_key: string;
|
|
12
|
+
axisLabel: {
|
|
13
|
+
rotate: number;
|
|
14
|
+
formatter: IXAxisLabelFormatter;
|
|
15
|
+
};
|
|
11
16
|
};
|
|
12
17
|
y_axis: {
|
|
13
18
|
name: string;
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface IEchartsSeriesItem {
|
|
3
|
-
name: string;
|
|
4
|
-
color?: string;
|
|
5
|
-
type: TEchartsSeriesType;
|
|
6
|
-
hide_in_legend: boolean;
|
|
7
|
-
}
|
|
1
|
+
import { IEchartsSeriesItem } from './utils/types';
|
|
8
2
|
export declare function getLegend(series: IEchartsSeriesItem[]): Record<string, any>;
|
|
9
|
-
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CallbackDataParams } from 'echarts/types/dist/shared';
|
|
2
2
|
import { ICartesianChartConf } from '../type';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { IEchartsSeriesItem } from './utils/types';
|
|
4
|
+
export declare function getTooltip(conf: ICartesianChartConf, series: IEchartsSeriesItem[], labelFormatters: Record<string, (p: $TSFixMe) => string>): {
|
|
5
|
+
formatter: (params: CallbackDataParams[]) => string;
|
|
5
6
|
};
|