@keneth80/k-chart 1.8.1 → 1.9.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 (3) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +43 -4
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.0 - 2026-06-28
4
+
5
+ ### Added
6
+
7
+ - Added the optional `@keneth80/k-chart-three` package for integrating Three.js scenes as KChart custom series.
8
+ - Added `createKThreeScene()` for reusable Three.js renderer, camera, lights, resize, pointer, and OrbitControls lifecycle management.
9
+ - Added `createThreeWaferSeries()` and `createWaferMonitorObject()` for semiconductor wafer monitoring with instanced die rendering, status colors, hover highlighting, and die click callbacks.
10
+ - Added `createWaferDies()` mock data generation for wafer demos and examples.
11
+ - Added a Three.js Wafer Monitor demo and usage snippet to the KChart playground.
12
+
13
+ ### Fixed
14
+
15
+ - Ensured Three.js wafer canvases receive drag and wheel events by restoring canvas `pointer-events`, `touch-action`, cursor, and interaction z-index after KChart canvas layer updates.
16
+
17
+ ### Packages
18
+
19
+ - Published `@keneth80/k-chart@1.9.0`.
20
+ - Published `@keneth80/k-chart-three@0.1.0`.
21
+
22
+ ## 1.8.2 - 2026-06-26
23
+
24
+ ### Added
25
+
26
+ - Added `realisticAtmosphere.disableLightingInFlatModes` to `@keneth80/k-chart-cesium` so applications can choose whether Cesium lighting remains active in 2D and Columbus View flat-map modes.
27
+
28
+ ### Fixed
29
+
30
+ - Disabled Cesium globe lighting, ground atmosphere, and sky atmosphere automatically in flat-map modes by default, preventing the 3D day/night shadow from covering flat maps.
31
+
32
+ ### Packages
33
+
34
+ - Published `@keneth80/k-chart-cesium@0.1.5`.
35
+ - Published `@keneth80/k-chart@1.8.2`.
36
+
3
37
  ## 1.8.1 - 2026-06-26
4
38
 
5
39
  ### Added
package/README.md CHANGED
@@ -32,11 +32,45 @@ createKChart(config)
32
32
 
33
33
  ### Three.js Custom Series
34
34
 
35
- Three.js는 KChart 코어 의존성이 아닙니다. 애플리케이션에서 `three`를 설치한 뒤
36
- `createCustomSeries(...)`와 `getWebglCanvas()`를 사용해 선택적으로 결합할 수 있습니다.
35
+ Three.js는 KChart 코어 의존성이 아닙니다. 가벼운 3D scene wrapper와
36
+ 반도체 웨이퍼 모니터링 객체가 필요하면 optional package인
37
+ `@keneth80/k-chart-three`를 설치합니다. 직접 renderer를 만들고 싶다면
38
+ `createCustomSeries(...)`와 `getWebglCanvas()`를 사용해 선택적으로 결합할 수도 있습니다.
37
39
 
38
40
  ```bash
39
- npm install three
41
+ npm install @keneth80/k-chart-three three
42
+ ```
43
+
44
+ [`packages/k-chart-three`](packages/k-chart-three/README.md)는 renderer, camera,
45
+ OrbitControls, resize, pointer event, dispose 생명주기를 처리하는
46
+ `createKThreeScene(...)` wrapper를 제공합니다. `createThreeWaferSeries(...)`는
47
+ KChart series contract에 맞춘 웨이퍼 모니터링 예제이며, die cell은
48
+ `InstancedMesh`로 렌더링합니다.
49
+
50
+ ```ts
51
+ import { createThreeWaferSeries, createWaferDies } from '@keneth80/k-chart-three';
52
+ import '@keneth80/k-chart-three/style.css';
53
+
54
+ const chart = createKChart({
55
+ selector: '#chart',
56
+ data: createWaferDies({ rows: 29, cols: 29 }),
57
+ axes: [],
58
+ grid: { visible: false },
59
+ legend: { visible: false },
60
+ series: [
61
+ createThreeWaferSeries({
62
+ selector: 'wafer-a17',
63
+ fields: {
64
+ id: 'id',
65
+ row: 'row',
66
+ col: 'col',
67
+ status: 'status',
68
+ value: 'value',
69
+ label: 'label'
70
+ }
71
+ })
72
+ ]
73
+ });
40
74
  ```
41
75
 
42
76
  양자리의 실제 주요 별 배치를 기반으로 별 노드와 연결선을 3D로 표현하는 전체 예제는
@@ -100,6 +134,7 @@ Then open `http://127.0.0.1:9003/`.
100
134
  - [SVG Globe Map Example](examples/svg-globe-map-series.ts)
101
135
  - [MapLibre Globe Drilldown Adapter](packages/k-chart-maplibre/README.md)
102
136
  - [CesiumJS 3D Route Adapter](packages/k-chart-cesium/README.md)
137
+ - [Three.js Scene And Wafer Adapter](packages/k-chart-three/README.md)
103
138
 
104
139
  ## Module Structure
105
140
 
@@ -357,7 +392,11 @@ or animation controls are visible, start farther out and set route
357
392
  `controller.flyToRoute(id)` later when the user wants to focus the route.
358
393
  Cesium atmosphere and lighting correction is enabled by default through
359
394
  `realisticAtmosphere`, which adjusts only rendering settings and does not bundle
360
- map, terrain, satellite, or 3D Tiles data.
395
+ map, terrain, satellite, or 3D Tiles data. In 2D and Columbus View flat-map
396
+ modes, KChart disables Cesium lighting and atmosphere by default so the
397
+ day/night globe shadow does not cover the map; set
398
+ `realisticAtmosphere.disableLightingInFlatModes: false` only if that lighting is
399
+ intentional.
361
400
  CesiumJS is Apache-2.0 licensed, while Cesium ion and third-party map, terrain,
362
401
  satellite, place-search, or 3D Tiles services have separate terms. Do not
363
402
  hard-code private provider keys in reusable library code, and keep Cesium/provider
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keneth80/k-chart",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "description": "Lightweight TypeScript D3 chart runtime with functional SVG, Canvas, and WebGL series renderers.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",