@keneth80/k-chart 1.8.0 → 1.8.2

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 +36 -0
  2. package/README.md +14 -1
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.8.2 - 2026-06-26
4
+
5
+ ### Added
6
+
7
+ - 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.
8
+
9
+ ### Fixed
10
+
11
+ - 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.
12
+
13
+ ### Packages
14
+
15
+ - Published `@keneth80/k-chart-cesium@0.1.5`.
16
+ - Published `@keneth80/k-chart@1.8.2`.
17
+
18
+ ## 1.8.1 - 2026-06-26
19
+
20
+ ### Added
21
+
22
+ - Added `initialView` to `@keneth80/k-chart-cesium` so applications can set the first Cesium camera longitude, latitude, height, heading, pitch, and roll.
23
+ - Documented practical Cesium route setup guidance for dashboard panels, including camera height recommendations, `flyToOnAdd`, Natural Earth imagery, and provider/license cautions.
24
+
25
+ ### Changed
26
+
27
+ - Updated the Cesium route demo to start from a stable Asia-Pacific camera view instead of relying on Cesium's default home camera.
28
+ - Reduced the demo atmosphere intensity so the Natural Earth texture remains visible instead of reading as a plain blue globe.
29
+
30
+ ### Fixed
31
+
32
+ - Fixed the Cesium route demo appearing too low or too zoomed-in when timeline and animation controls were visible.
33
+
34
+ ### Packages
35
+
36
+ - Published `@keneth80/k-chart-cesium@0.1.4`.
37
+ - Published `@keneth80/k-chart@1.8.1`.
38
+
3
39
  ## 1.8.0 - 2026-06-25
4
40
 
5
41
  ### Added
package/README.md CHANGED
@@ -350,14 +350,27 @@ records are converted to Cesium `SampledPositionProperty` samples and can be
350
350
  played through the Cesium clock with a moving marker, route trail, and optional
351
351
  camera tracking. The adapter is provider-neutral by default: applications pass their own
352
352
  `imageryProvider`, `terrainProvider`, optional `ionAccessToken`, and attribution.
353
+ Use `initialView` to set the first camera longitude, latitude, and height when
354
+ the default Cesium home view is too close for a dashboard panel. When timeline
355
+ or animation controls are visible, start farther out and set route
356
+ `flyToOnAdd: false` so the first render stays centered; call `handle.flyTo()` or
357
+ `controller.flyToRoute(id)` later when the user wants to focus the route.
353
358
  Cesium atmosphere and lighting correction is enabled by default through
354
359
  `realisticAtmosphere`, which adjusts only rendering settings and does not bundle
355
- map, terrain, satellite, or 3D Tiles data.
360
+ map, terrain, satellite, or 3D Tiles data. In 2D and Columbus View flat-map
361
+ modes, KChart disables Cesium lighting and atmosphere by default so the
362
+ day/night globe shadow does not cover the map; set
363
+ `realisticAtmosphere.disableLightingInFlatModes: false` only if that lighting is
364
+ intentional.
356
365
  CesiumJS is Apache-2.0 licensed, while Cesium ion and third-party map, terrain,
357
366
  satellite, place-search, or 3D Tiles services have separate terms. Do not
358
367
  hard-code private provider keys in reusable library code, and keep Cesium/provider
359
368
  credits and copyright notices visible.
360
369
 
370
+ Detailed Cesium usage, asset deployment, provider/license notes, and first-view
371
+ camera tips are documented in
372
+ [`packages/k-chart-cesium/README.md`](packages/k-chart-cesium/README.md).
373
+
361
374
  ```ts
362
375
  import {
363
376
  createKChart,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keneth80/k-chart",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
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",