@363045841yyt/klinechart 0.6.2 → 0.6.5
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 +3 -1
- package/dist/index.cjs +49 -2
- package/dist/index.js +3364 -2222
- package/dist/klinechart.css +1 -1
- package/dist/src/config/chartSettings.d.ts +39 -1
- package/dist/src/core/chart.d.ts +14 -1
- package/dist/src/core/controller/interaction.d.ts +5 -1
- package/dist/src/core/indicators/calculators.d.ts +140 -0
- package/dist/src/core/indicators/macdState.d.ts +58 -0
- package/dist/src/core/indicators/scheduler.d.ts +12 -0
- package/dist/src/core/indicators/soa.d.ts +115 -0
- package/dist/src/core/paneRenderer.d.ts +14 -0
- package/dist/src/core/renderers/Indicator/boll.d.ts +0 -9
- package/dist/src/core/renderers/Indicator/expma.d.ts +0 -9
- package/dist/src/core/renderers/Indicator/ma.d.ts +0 -9
- package/dist/src/core/renderers/Indicator/macd.d.ts +3 -11
- package/dist/src/core/renderers/Indicator/rsi.d.ts +10 -0
- package/dist/src/core/renderers/webgl/candleSurface.d.ts +48 -0
- package/dist/src/plugin/types.d.ts +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,8 @@ A lightweight financial K-line charting library focused on quantitative trading
|
|
|
31
31
|
- **Crisp Rendering** - Full-chain ResizeObserver driven, physical pixel alignment, K-lines, wicks, and lines are sharp and clear on all DPR screens
|
|
32
32
|
- **Plugin Architecture** - Renderer plugin-based design, supporting dynamic registration, configuration, and lifecycle management
|
|
33
33
|
- **Custom Markers** - Supports semantic configuration of custom markers and custom information
|
|
34
|
-
- **High Performance** - Smoothly handles tens of thousands of data points, no lag during zoom or pan
|
|
34
|
+
- **High Performance** - Smoothly handles tens of thousands of data points, no lag during zoom or pan
|
|
35
|
+
- **WebGL Rendering** - K-lines, volume bars, and MACD bars rendered via WebGL for GPU-accelerated performance, reaching **190fps on 200Hz displays** with per-frame GPU time under **1ms**
|
|
35
36
|
- **Optimized Interaction** - Stable zoom anchor, precise crosshair cursor, smooth drag
|
|
36
37
|
|
|
37
38
|
## 🚀 Quick Start
|
|
@@ -133,6 +134,7 @@ const config: SemanticChartConfig = {
|
|
|
133
134
|
|
|
134
135
|
## 🚀 What's New
|
|
135
136
|
|
|
137
|
+
- **v0.6.3** WebGL rendering for K-lines, volume bars, and MACD bars; significant performance boost across the board
|
|
136
138
|
- **v0.6.1** Dual-layer canvas architecture: Main + Overlay separation with UpdateLevel filtering, achieves stable **180fps with low jitter on 200Hz displays**
|
|
137
139
|
- **v0.6.0** Stateless indicator pipeline: MA/BOLL/EXPMA/ENE/RSI/CCI/STOCH/MOM/WMSR/KST/FASTK now use unified Calculator → Scheduler → StateStore → Renderer architecture for better performance and maintainability
|
|
138
140
|
- **v0.5.6** Logarithmic price axis with evenly distributed grid lines at pixel level
|