@363045841yyt/klinechart 0.6.3 → 0.6.6

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
@@ -1,4 +1,4 @@
1
- A lightweight financial charting library with first-class AI Agent support, crisp ResizeObserver-driven rendering, and plugin-based architecture.
1
+ High-performance financial chart library with a single-frame generation time of just 2ms, stable scrolling at 190–200fps in a 200Hz environment, native support for AI Agent control, full-link ResizeObserver-driven crisp rendering, and a pluggable architecture.
2
2
  <div align="center">
3
3
 
4
4
  English | [简体中文](README_CN.md)
@@ -31,7 +31,7 @@ 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; supports **190-200fps on 200Hz displays** with single-frame generation time as low as **2ms**
35
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**
36
36
  - **Optimized Interaction** - Stable zoom anchor, precise crosshair cursor, smooth drag
37
37
 
@@ -134,7 +134,8 @@ const config: SemanticChartConfig = {
134
134
 
135
135
  ## 🚀 What's New
136
136
 
137
- - **v0.6.3** WebGL rendering for K-lines, volume bars, and MACD bars; significant performance boost across the board
137
+ - **v0.6.6** Comprehensive rendering optimizations: batched price-to-Y calculations, cached tick positions and geometry, optimized month-key operations; achieves stable **190-200fps on 200Hz displays** with frame generation time down to **2ms**
138
+ - **v0.6.3** WebGL rendering for K-lines, volume bars, and MACD bars; significant performance boost across the board
138
139
  - **v0.6.1** Dual-layer canvas architecture: Main + Overlay separation with UpdateLevel filtering, achieves stable **180fps with low jitter on 200Hz displays**
139
140
  - **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
140
141
  - **v0.5.6** Logarithmic price axis with evenly distributed grid lines at pixel level