@opendata-ai/openchart-vanilla 2.5.0 → 2.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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/svg-renderer.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendata-ai/openchart-vanilla",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Vanilla JS renderer for openchart: SVG charts, HTML tables, force-directed graphs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Riley Hilliard",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"typecheck": "tsc --noEmit"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@opendata-ai/openchart-core": "2.
|
|
53
|
-
"@opendata-ai/openchart-engine": "2.
|
|
52
|
+
"@opendata-ai/openchart-core": "2.6.0",
|
|
53
|
+
"@opendata-ai/openchart-engine": "2.6.0",
|
|
54
54
|
"d3-force": "^3.0.0",
|
|
55
55
|
"d3-quadtree": "^3.0.1"
|
|
56
56
|
},
|
package/src/svg-renderer.ts
CHANGED
|
@@ -904,7 +904,7 @@ function renderLegend(parent: SVGElement, legend: LegendLayout): void {
|
|
|
904
904
|
// Brand rendering
|
|
905
905
|
// ---------------------------------------------------------------------------
|
|
906
906
|
|
|
907
|
-
const BRAND_FONT_SIZE =
|
|
907
|
+
const BRAND_FONT_SIZE = 20;
|
|
908
908
|
const BRAND_MIN_WIDTH = 120;
|
|
909
909
|
const BRAND_URL = 'https://tryopendata.ai';
|
|
910
910
|
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|