@devtable/dashboard 14.6.0 → 14.7.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.
@@ -26,7 +26,8 @@ export declare function v18(legacyConf: any, { panelModel }: IMigrationEnv): ICa
26
26
  export declare function v19(legacyConf: any): ICartesianChartConf;
27
27
  export declare function v20(legacyConf: $TSFixMe, panelModel: PanelModelInstance): ICartesianChartConf;
28
28
  export declare function v21(legacyConf: any): ICartesianChartConf;
29
+ export declare function v22(legacyConf: any): ICartesianChartConf;
29
30
  export declare class VizCartesianMigrator extends VersionBasedMigrator {
30
31
  configVersions(): void;
31
- readonly VERSION = 21;
32
+ readonly VERSION = 22;
32
33
  }
@@ -1,3 +1,3 @@
1
1
  import { ICartesianChartConf, ICartesianChartSeriesItem } from '../../type';
2
2
  import { DataTemplateType } from './types';
3
- export declare function getSeriesItemOrItems({ x_axis_data_key, x_axis }: ICartesianChartConf, { y_axis_data_key, yAxisIndex, label_position, name, group_by_key, aggregation_on_value, stack, color, display_name_on_line, symbolSize, hide_in_legend, areaStyle, ...rest }: ICartesianChartSeriesItem, dataTemplate: DataTemplateType[], data: TPanelData, variableValueMap: Record<string, string | number>, labelFormatters: Record<string, $TSFixMe>): any;
3
+ export declare function getSeriesItemOrItems({ x_axis_data_key, x_axis }: ICartesianChartConf, { y_axis_data_key, yAxisIndex, label_position, name, group_by_key, order_in_group, aggregation_on_value, stack, color, display_name_on_line, symbolSize, hide_in_legend, areaStyle, ...rest }: ICartesianChartSeriesItem, dataTemplate: DataTemplateType[], data: TPanelData, variableValueMap: Record<string, string | number>, labelFormatters: Record<string, $TSFixMe>): any;
@@ -11,6 +11,7 @@ import { IXAxisLabelFormatter } from '../../common-echarts-fields/x-axis-label-f
11
11
  import { EChartsYAxisPosition } from '../../common-echarts-fields/y-axis-position';
12
12
  import { TEchartsDataZoomConfig } from './editors/echarts-zooming-field/types';
13
13
  import { EchartsLineAreaStyle } from '../../common-echarts-fields/line-area-style';
14
+ import { SeriesOrder } from '../../common-echarts-fields/series-order';
14
15
  export interface ICartesianChartSeriesItem {
15
16
  type: 'line' | 'bar' | 'scatter';
16
17
  name: string;
@@ -29,6 +30,7 @@ export interface ICartesianChartSeriesItem {
29
30
  smooth: boolean;
30
31
  step: false | 'start' | 'middle' | 'end';
31
32
  group_by_key: string;
33
+ order_in_group: SeriesOrder;
32
34
  aggregation_on_value?: AggregationType;
33
35
  lineStyle: {
34
36
  type: IEChartsLineType;