@363045841yyt/klinechart 0.2.8 → 0.2.10
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/README.md +4 -0
- package/dist/components/IndicatorSelector.vue.d.ts +2 -5
- package/dist/core/chart.d.ts +0 -2
- package/dist/core/controller/interaction.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1111 -1062
- package/dist/klinechart.css +1 -1
- package/package.json +1 -1
- package/dist/core/renderers/globalBorders.d.ts +0 -13
package/README.md
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|

|
|
8
8
|
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
9
13
|
|
|
10
14
|
## 功能特性
|
|
11
15
|
|
|
@@ -4,14 +4,11 @@ export interface Indicator {
|
|
|
4
4
|
label: string;
|
|
5
5
|
name: string;
|
|
6
6
|
pane: 'main' | 'sub';
|
|
7
|
-
/** 指标描述 */
|
|
8
7
|
description?: string;
|
|
9
8
|
params?: ParamConfig[];
|
|
10
9
|
}
|
|
11
10
|
type __VLS_Props = {
|
|
12
|
-
/** 当前选中的指标列表 */
|
|
13
11
|
activeIndicators?: string[];
|
|
14
|
-
/** 指标参数配置 */
|
|
15
12
|
indicatorParams?: Record<string, Record<string, number>>;
|
|
16
13
|
};
|
|
17
14
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -21,7 +18,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
18
|
onToggle?: ((indicatorId: string, active: boolean) => any) | undefined;
|
|
22
19
|
onUpdateParams?: ((indicatorId: string, params: Record<string, number>) => any) | undefined;
|
|
23
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
addBtnRef: HTMLButtonElement;
|
|
22
|
+
addMenuRef: HTMLDivElement;
|
|
26
23
|
}, HTMLDivElement>;
|
|
27
24
|
export default _default;
|
package/dist/core/chart.d.ts
CHANGED
|
@@ -12,13 +12,11 @@ export { getPhysicalKLineConfig, calcKWidthPx };
|
|
|
12
12
|
* @property container 图表容器 div
|
|
13
13
|
* @property canvasLayer Canvas 层容器 div(包含所有绘制 canvas)
|
|
14
14
|
* @property xAxisCanvas X 轴时间轴 canvas
|
|
15
|
-
* @property borderCanvas 全局边框 canvas(可选,由 Chart 内部创建)
|
|
16
15
|
*/
|
|
17
16
|
export type ChartDom = {
|
|
18
17
|
container: HTMLDivElement;
|
|
19
18
|
canvasLayer: HTMLDivElement;
|
|
20
19
|
xAxisCanvas: HTMLCanvasElement;
|
|
21
|
-
borderCanvas?: HTMLCanvasElement;
|
|
22
20
|
};
|
|
23
21
|
/**
|
|
24
22
|
* Pane 面板配置
|