1/*
2 * Copyright (C) 2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15export interface LitChartScatterConfig {
16  // y轴坐标数组
17  yAxisLabel: Array<number>;
18  // x轴坐标数组
19  xAxisLabel: Array<number>;
20  // 坐标轴名称
21  axisLabel: Array<string>;
22  // 用于判断是否绘制负载线及均衡线
23  drawload: boolean;
24  // 用于存放最大负载线及均衡线的参数值
25  load: Array<number>;
26  // 打点数据
27  data: Array<Array<Array<number>>>;
28  // 用于存放绘图数据
29  paintingData: Array<Object>;
30  // 用于存放移入点数据
31  hoverData: Object | null;
32  // 渐变色信息
33  globalGradient: CanvasGradient | undefined;
34  // 颜色池
35  colorPool: () => Array<string>;
36  // 移入事件
37  hoverEvent: void;
38  // 图表名称
39  title: string;
40  // 颜色数据名称
41  colorPoolText: () => Array<string>;
42  // 提示信息
43  tip: (a: any) => string;
44}
45