@keneth80/k-chart 1.26.0 → 1.27.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.
- package/CHANGELOG.md +72 -0
- package/README.md +129 -1095
- package/docs/code-graph-handoff.md +19 -37
- package/docs/configuration-reference.md +8 -1
- package/docs/functional-api.md +77 -0
- package/docs/react-nextjs.md +62 -8
- package/docs/refactor-plan.md +39 -23
- package/docs/release.md +9 -4
- package/examples/stackblitz-calendar-heatmap-basic/index.html +37 -0
- package/examples/stackblitz-calendar-heatmap-basic/package-lock.json +1548 -0
- package/examples/stackblitz-calendar-heatmap-basic/package.json +18 -0
- package/examples/stackblitz-calendar-heatmap-basic/src/main.ts +172 -0
- package/examples/stackblitz-calendar-heatmap-basic/src/style.css +33 -0
- package/examples/stackblitz-calendar-heatmap-basic/src/vite-env.d.ts +1 -0
- package/examples/stackblitz-dual-axis-combo-basic/index.html +27 -0
- package/examples/stackblitz-dual-axis-combo-basic/package-lock.json +1548 -0
- package/examples/stackblitz-dual-axis-combo-basic/package.json +18 -0
- package/examples/stackblitz-dual-axis-combo-basic/src/main.ts +88 -0
- package/examples/stackblitz-dual-axis-combo-basic/src/style.css +31 -0
- package/examples/stackblitz-dual-axis-combo-basic/src/vite-env.d.ts +1 -0
- package/examples/stackblitz-hybrid-operations-dashboard/index.html +53 -0
- package/examples/stackblitz-hybrid-operations-dashboard/package-lock.json +1548 -0
- package/examples/stackblitz-hybrid-operations-dashboard/package.json +18 -0
- package/examples/stackblitz-hybrid-operations-dashboard/src/main.ts +181 -0
- package/examples/stackblitz-hybrid-operations-dashboard/src/style.css +52 -0
- package/examples/stackblitz-pareto-basic/index.html +22 -0
- package/examples/stackblitz-pareto-basic/package-lock.json +1548 -0
- package/examples/stackblitz-pareto-basic/package.json +18 -0
- package/examples/stackblitz-pareto-basic/src/main.ts +101 -0
- package/examples/stackblitz-pareto-basic/src/style.css +31 -0
- package/examples/stackblitz-pareto-basic/src/vite-env.d.ts +1 -0
- package/examples/stackblitz-simple-api-basic/package-lock.json +96 -4
- package/examples/stackblitz-simple-api-basic/package.json +1 -1
- package/examples/stackblitz-subcell-heatmap-basic/README.md +48 -0
- package/examples/stackblitz-subcell-heatmap-basic/index.html +13 -0
- package/examples/stackblitz-subcell-heatmap-basic/package-lock.json +1788 -0
- package/examples/stackblitz-subcell-heatmap-basic/package.json +23 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/app.ts +212 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/component.css +169 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/heatmap-demo-core.ts +505 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/heatmap-demo.ts +23 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/main.ts +15 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/maplibre-compat.ts +6 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/model.ts +242 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/raster.ts +121 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/style.css +15 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/synthetic.ts +72 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/vendor.d.ts +3 -0
- package/examples/stackblitz-subcell-heatmap-basic/src/vite-env.d.ts +1 -0
- package/examples/stackblitz-topology-basic/package-lock.json +96 -4
- package/examples/stackblitz-topology-basic/package.json +1 -1
- package/examples/stackblitz-us-transport-route/index.html +29 -0
- package/examples/stackblitz-us-transport-route/package.json +17 -0
- package/examples/stackblitz-us-transport-route/src/main.ts +211 -0
- package/examples/stackblitz-us-transport-route/src/style.css +178 -0
- package/examples/stackblitz-webgl-line-basic/package-lock.json +96 -4
- package/examples/stackblitz-webgl-line-basic/package.json +1 -1
- package/examples/stackblitz-world-activity-map/package.json +1 -1
- package/lib/core/contracts.d.ts +6 -2
- package/lib/core/contracts.d.ts.map +1 -1
- package/lib/series/svg-graph.d.ts +29 -0
- package/lib/series/svg-graph.d.ts.map +1 -1
- package/lib/series/svg-graph.js +509 -80
- package/lib/series/svg-graph.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.27.0 - 2026-09-27
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added a MapLibre subcell scalar-field example that bilinearly interpolates
|
|
8
|
+
51 x 51 node samples inside each 0.5-degree cell, preserves missing values,
|
|
9
|
+
and keeps the fixed 0-100 color scale across time and zoom.
|
|
10
|
+
- Added standalone field tests and a StackBlitz-ready project covering frame
|
|
11
|
+
changes, grid-only visibility toggling, map lifecycle cleanup, and the
|
|
12
|
+
distinction between numeric zero and unobserved data.
|
|
13
|
+
- Added a top-down `layered` graph layout with explicit or topology-derived
|
|
14
|
+
node ranks, strongly connected component handling, and dense-row wrapping.
|
|
15
|
+
- Added graph callbacks for node colors, edge colors, edge dash patterns, and
|
|
16
|
+
optional force-layout gravity while preserving existing force defaults.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Reorganized the README around a concise value proposition, four primary trust
|
|
21
|
+
badges, four first-step links, an early Quick Start, and a small representative
|
|
22
|
+
StackBlitz set.
|
|
23
|
+
- Moved detailed renderer, adapter, AI, import-surface, custom-tooltip, and
|
|
24
|
+
advanced API guidance into focused documentation, leaving the root README as
|
|
25
|
+
a concise onboarding and navigation page.
|
|
26
|
+
- Updated the four representative StackBlitz projects to use KChart 1.26.1.
|
|
27
|
+
- Corrected development-port, React-wrapper, release-package, security-reporting,
|
|
28
|
+
architecture-snapshot, and public API compatibility wording across contributor
|
|
29
|
+
and integration documentation.
|
|
30
|
+
- Made layered graph packing account for label bounds and scale labels, nodes,
|
|
31
|
+
and spacing together in constrained panels.
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- Invalidated graph data and layout caches for same-array row replacement,
|
|
36
|
+
in-place source/target/value/category changes, and dynamic rank changes.
|
|
37
|
+
- Preserved callback edge styling and active node-selection emphasis after
|
|
38
|
+
tooltip cleanup.
|
|
39
|
+
|
|
40
|
+
### Tests
|
|
41
|
+
|
|
42
|
+
- Added graph regression coverage for force-layout compatibility, layered
|
|
43
|
+
ordering and cycles, dense label packing, callback indexes and styles,
|
|
44
|
+
tooltip colors, selection restoration, and in-place data updates.
|
|
45
|
+
- Verified the graph demo at desktop and 820px widths with no label overlap,
|
|
46
|
+
clipping, horizontal overflow, or graph runtime errors.
|
|
47
|
+
|
|
48
|
+
### Removed
|
|
49
|
+
|
|
50
|
+
- Removed the unconfigured coverage badge and the obsolete duplicate
|
|
51
|
+
`README 2.md` after confirming that it was unreferenced and described the former
|
|
52
|
+
package name, port, and class-based API.
|
|
53
|
+
|
|
54
|
+
## 1.26.1 - 2026-09-07
|
|
55
|
+
|
|
56
|
+
### Added
|
|
57
|
+
|
|
58
|
+
- Added Dual-axis Combo and Pareto examples that combine SVG columns and
|
|
59
|
+
lines with independent left and right value axes.
|
|
60
|
+
- Added a Calendar Heatmap example with 181 accessible daily cells, five
|
|
61
|
+
intensity levels, and date/value tooltips.
|
|
62
|
+
- Added standalone StackBlitz-ready projects and README links for all three
|
|
63
|
+
analysis examples.
|
|
64
|
+
|
|
65
|
+
### Changed
|
|
66
|
+
|
|
67
|
+
- Added an Analysis section to the main playground so the new examples are
|
|
68
|
+
available directly from the sidebar and example gallery.
|
|
69
|
+
|
|
70
|
+
### Tests
|
|
71
|
+
|
|
72
|
+
- Verified the root typecheck, production build, unit suite, standalone Vite
|
|
73
|
+
builds, and desktop/mobile rendering for each new example.
|
|
74
|
+
|
|
3
75
|
## 1.26.0 - 2026-08-27
|
|
4
76
|
|
|
5
77
|
### Added
|