@363045841yyt/klinechart 0.2.12 → 0.2.13
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/dist/core/controller/interaction.d.ts +2 -0
- package/dist/core/renderers/crosshair.d.ts +2 -0
- package/dist/core/renderers/yAxis.d.ts +4 -0
- package/dist/core/theme/colors.d.ts +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.js +102 -62
- package/dist/klinechart.css +1 -1
- package/dist/plugin/rendererPluginManager.d.ts +0 -1
- package/dist/plugin/types.d.ts +1 -0
- package/dist/semantic/controller.d.ts +4 -0
- package/dist/utils/kLineDraw/axis.d.ts +2 -2
- package/package.json +1 -1
|
@@ -25,6 +25,8 @@ export declare class InteractionController {
|
|
|
25
25
|
} | null;
|
|
26
26
|
/** 十字线当前指向的 K 线索引 */
|
|
27
27
|
crosshairIndex: number | null;
|
|
28
|
+
/** 十字线指向的价格(用于价格轴平移时跟随) */
|
|
29
|
+
crosshairPrice: number | null;
|
|
28
30
|
/** 鼠标悬停的 K 线索引(命中 candle 时有效) */
|
|
29
31
|
hoveredIndex: number | null;
|
|
30
32
|
/** 当前活跃的 pane ID */
|
|
@@ -183,8 +183,8 @@ export declare const KST_COLORS: {
|
|
|
183
183
|
* EXPMA 颜色
|
|
184
184
|
*/
|
|
185
185
|
export declare const EXPMA_COLORS: {
|
|
186
|
-
/**
|
|
187
|
-
readonly FAST: "
|
|
186
|
+
/** 快线颜色(橙色,参考 RSI2) */
|
|
187
|
+
readonly FAST: "rgba(255, 152, 0, 1)";
|
|
188
188
|
/** 慢线颜色(蓝色) */
|
|
189
189
|
readonly SLOW: "rgba(69, 112, 249, 1)";
|
|
190
190
|
};
|