diff --git a/savyg/package.json b/savyg/package.json index 8411730..c6960d5 100644 --- a/savyg/package.json +++ b/savyg/package.json @@ -1,7 +1,7 @@ { "name": "savyg", "private": false, - "version": "1.1.4", + "version": "1.1.5", "description": "A savvy library to create svg elements and charts with ease", "author": "Alec Lloyd Probert", "repository": { diff --git a/savyg/src/utils_chart_gauge.ts b/savyg/src/utils_chart_gauge.ts index e7d35a0..9b74b20 100644 --- a/savyg/src/utils_chart_gauge.ts +++ b/savyg/src/utils_chart_gauge.ts @@ -335,8 +335,11 @@ export function chartGauge({ pathElement: a.path, color: a.color, } - }) - + }), + dimensions: { + centerX: drawingArea.centerX, + centerY: drawingArea.centerY + height / 4, + } } }