@devtable/dashboard 10.34.4 → 10.34.6

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.
@@ -1,15 +1,15 @@
1
1
  import { ITemplateVariable } from '~/utils/template';
2
2
  import { ICartesianReferenceLine } from '../../type';
3
- export declare function getReferenceLines(reference_lines: ICartesianReferenceLine[], variables: ITemplateVariable[], variableValueMap: Record<string, string | number>, data: TPanelData): {
3
+ export declare function getReferenceLines(reference_lines: ICartesianReferenceLine[], variables: ITemplateVariable[], variableValueMap: Record<string, string | number>, data: TPanelData, xAxisData: string[]): {
4
4
  name: string;
5
5
  type: string;
6
6
  hide_in_legend: boolean;
7
7
  yAxisIndex: number;
8
- data: never[];
9
- lineStyle: {
10
- type: "dashed" | "dotted" | "solid";
11
- width: number;
12
- color: string;
8
+ data: (string | number)[];
9
+ symbol: string;
10
+ silent: boolean;
11
+ tooltip: {
12
+ show: boolean;
13
13
  };
14
14
  markLine: {
15
15
  data: {
@@ -1,8 +1,9 @@
1
1
  import { ICartesianChartConf } from '../type';
2
- declare type SeriesData = number[];
2
+ declare type SeriesDataOut = number[];
3
+ declare type SeriesDataIn = [string | number, number][] | SeriesDataOut;
3
4
  declare type PartialSeriesConfType = {
4
5
  yAxisIndex: number;
5
- data: SeriesData;
6
+ data: SeriesDataIn;
6
7
  };
7
8
  export declare function getYAxes(conf: ICartesianChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>, series: PartialSeriesConfType[]): {
8
9
  minInterval: number;