@363045841yyt/klinechart 0.2.9 → 0.2.11

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 CHANGED
@@ -4,11 +4,9 @@
4
4
 
5
5
  这是一个基于 Canvas 的金融图表绘制库,提供 Vue 组件封装。专注于高性能 K 线图渲染,支持**语义化 JSON 配置**,便于 AI Agent 直接控制图表渲染。特性包括横向滚动、多种技术指标(MA/BOLL/MACD/RSI 等)、自定义标记标注、多数据源支持(BaoStock、东方财富)。
6
6
 
7
- ![pasted-image-1775748542822.webp](https://files.seeusercontent.com/2026/04/09/u0nK/pasted-image-1775748542822.webp)
8
-
9
- ![pasted-image-1776608418893.webp](https://files.seeusercontent.com/2026/04/19/h2bU/pasted-image-1776608418893.webp)
10
-
11
- ![pasted-image-1776608811331.webp](https://files.seeusercontent.com/2026/04/19/L2do/pasted-image-1776608811331.webp)
7
+ ![YU8@~$21%{NBJLGIZ}KTKED.png](https://files.seeusercontent.com/2026/04/29/akQ8/YU821NBJLGIZKTKED.png)
8
+ ![(ZOS$O}EP(_NKI273RXBV17.png](https://files.seeusercontent.com/2026/04/29/olU0/ZOSOEP_NKI273RXBV17.png)
9
+ ![1TIVL2M~[(}TWFB_O}JZJ]6.png](https://files.seeusercontent.com/2026/04/29/a6rH/1TIVL2MTWFB_OJZJ6.png)
12
10
 
13
11
 
14
12
  ## 功能特性
@@ -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 面板配置
@@ -106,7 +106,7 @@ export declare class InteractionController {
106
106
  /** 处理滚动事件 */
107
107
  onScroll(): void;
108
108
  /**
109
- * [触屏]:处理 Pointer 移动事件
109
+ * 处理 Pointer 移动事件(支持鼠标和触屏)
110
110
  * @param e PointerEvent
111
111
  */
112
112
  onPointerMove(e: PointerEvent): void;