@363045841yyt/klinechart 0.5.6 → 0.6.0

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.
Files changed (36) hide show
  1. package/README.md +6 -4
  2. package/dist/index.cjs +9 -9
  3. package/dist/index.js +1792 -1580
  4. package/dist/klinechart.css +1 -1
  5. package/dist/src/components/KLineChart.vue.d.ts +1 -1
  6. package/dist/src/config/chartSettings.d.ts +1 -0
  7. package/dist/src/core/chart.d.ts +11 -2
  8. package/dist/src/core/controller/interaction.d.ts +4 -0
  9. package/dist/src/core/indicators/bollState.d.ts +34 -0
  10. package/dist/src/core/indicators/calculators.d.ts +129 -0
  11. package/dist/src/core/indicators/cciState.d.ts +15 -0
  12. package/dist/src/core/indicators/eneState.d.ts +30 -0
  13. package/dist/src/core/indicators/expmaState.d.ts +30 -0
  14. package/dist/src/core/indicators/fastkState.d.ts +15 -0
  15. package/dist/src/core/indicators/kstState.d.ts +21 -0
  16. package/dist/src/core/indicators/maState.d.ts +26 -0
  17. package/dist/src/core/indicators/momState.d.ts +15 -0
  18. package/dist/src/core/indicators/rsiState.d.ts +39 -0
  19. package/dist/src/core/indicators/scheduler.d.ts +244 -0
  20. package/dist/src/core/indicators/stochState.d.ts +18 -0
  21. package/dist/src/core/indicators/wmsrState.d.ts +15 -0
  22. package/dist/src/core/renderers/Indicator/boll.d.ts +9 -26
  23. package/dist/src/core/renderers/Indicator/cci.d.ts +2 -19
  24. package/dist/src/core/renderers/Indicator/ene.d.ts +9 -18
  25. package/dist/src/core/renderers/Indicator/expma.d.ts +9 -17
  26. package/dist/src/core/renderers/Indicator/fastk.d.ts +2 -19
  27. package/dist/src/core/renderers/Indicator/index.d.ts +10 -10
  28. package/dist/src/core/renderers/Indicator/kst.d.ts +2 -34
  29. package/dist/src/core/renderers/Indicator/ma.d.ts +10 -10
  30. package/dist/src/core/renderers/Indicator/mainIndicatorLegend.d.ts +3 -3
  31. package/dist/src/core/renderers/Indicator/mom.d.ts +2 -19
  32. package/dist/src/core/renderers/Indicator/rsi.d.ts +3 -27
  33. package/dist/src/core/renderers/Indicator/stoch.d.ts +2 -28
  34. package/dist/src/core/renderers/Indicator/wmsr.d.ts +2 -19
  35. package/package.json +1 -1
  36. package/dist/src/utils/kline/ma.d.ts +0 -2
package/README.md CHANGED
@@ -18,11 +18,11 @@ English | [简体中文](README_CN.md)
18
18
  A lightweight financial K-line charting library focused on quantitative trading scenarios. **Agent is a first-class citizen** — supports AI Agent direct control of chart operations, providing TradingView-level interaction experience.
19
19
 
20
20
  <div align="center">
21
- <img src="https://files.seeusercontent.com/2026/05/13/vF8x/pasted-image-1778672929115.webp" width="400" style="border-radius: 12px; margin: 8px;" />
22
- <img src="https://files.seeusercontent.com/2026/05/13/J8xd/pasted-image-1778672926979.webp" width="400" style="border-radius: 12px; margin: 8px;" />
21
+ <img src="https://files.seeusercontent.com/2026/05/18/7Zjf/pasted-image-1779120668142.webp" width="400" style="border-radius: 12px; margin: 8px;" />
22
+ <img src="https://files.seeusercontent.com/2026/05/18/cAw4/pasted-image-1779120665492.webp" width="400" style="border-radius: 12px; margin: 8px;" />
23
23
  <br/>
24
- <img src="https://files.seeusercontent.com/2026/05/13/vV4u/pasted-image-1778672925611.webp" width="400" style="border-radius: 12px; margin: 8px;" />
25
- <img src="https://files.seeusercontent.com/2026/05/13/Vyy8/pasted-image-1778672923956.webp" width="400" style="border-radius: 12px; margin: 8px;" />
24
+ <img src="https://files.seeusercontent.com/2026/05/18/Xwq2/pasted-image-1779120662730.webp" width="400" style="border-radius: 12px; margin: 8px;" />
25
+ <img src="https://files.seeusercontent.com/2026/05/18/Lb5p/7MNQT2E_2X1UL3626R.png" width="400" style="border-radius: 12px; margin: 8px;" />
26
26
  </div>
27
27
 
28
28
  ## ✨ Core Features
@@ -133,6 +133,8 @@ const config: SemanticChartConfig = {
133
133
 
134
134
  ## 🚀 What's New
135
135
 
136
+ - **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
137
+ - **v0.5.6** Logarithmic price axis with evenly distributed grid lines at pixel level
136
138
  - **v0.5.2** Advanced drawing tools: parallel channel, regression channel, smooth top/bottom, and non-intersecting channel
137
139
  - **v0.5.0** Complete drawing tool system, supporting line, rectangle, text drawing and style editing
138
140
  - **v0.4** Modern UI, left toolbar, right axis optimization, TradingView-style zoom feel