@keneth80/k-chart 1.12.1 → 1.12.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.12.2 - 2026-07-07
4
+
5
+ ### Changed
6
+
7
+ - Tuned the Korea Region Map example labels to show compact values inside the real province boundaries.
8
+
9
+ ### Packages
10
+
11
+ - Published `@keneth80/k-chart@1.12.2`.
12
+
3
13
  ## 1.12.1 - 2026-07-07
4
14
 
5
15
  ### Added
@@ -8,7 +8,7 @@
8
8
  "name": "kchart-korea-region-map-basic",
9
9
  "version": "1.0.0",
10
10
  "dependencies": {
11
- "@keneth80/k-chart": "^1.12.1",
11
+ "@keneth80/k-chart": "^1.12.2",
12
12
  "typescript": "^6.0.3",
13
13
  "vite": "^7.1.12"
14
14
  },
@@ -9,7 +9,7 @@
9
9
  "preview": "vite preview --host 0.0.0.0"
10
10
  },
11
11
  "dependencies": {
12
- "@keneth80/k-chart": "^1.12.1",
12
+ "@keneth80/k-chart": "^1.12.2",
13
13
  "typescript": "^6.0.3",
14
14
  "vite": "^7.1.12"
15
15
  },
@@ -67,11 +67,11 @@ createKChart<RegionDatum>({
67
67
  visible: true,
68
68
  mode: "centroid",
69
69
  fill: "#edf3f8",
70
- fontSize: 10,
70
+ fontSize: 9,
71
71
  fontWeight: 900,
72
72
  stroke: "rgba(15, 23, 42, 0.68)",
73
73
  strokeWidth: 2,
74
- formatter: ({ label, value }) => `${label.replace("광역시", "").replace("특별시", "")} ${value}`
74
+ formatter: ({ value }) => String(value ?? "")
75
75
  },
76
76
  tooltip: {
77
77
  formatter: ({ label, data: item, value }) =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keneth80/k-chart",
3
- "version": "1.12.1",
3
+ "version": "1.12.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",