diff --git a/apps/google-analytics-4/frontend/package-lock.json b/apps/google-analytics-4/frontend/package-lock.json index 3822ba9543..bf071e4a3f 100644 --- a/apps/google-analytics-4/frontend/package-lock.json +++ b/apps/google-analytics-4/frontend/package-lock.json @@ -9945,9 +9945,9 @@ } }, "node_modules/chart.js": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.0.tgz", - "integrity": "sha512-vQEj6d+z0dcsKLlQvbKIMYFHd3t8W/7L2vfJIbYcfyPcRx92CsHqECpueN8qVGNlKyDcr5wBrYAYKnfu/9Q1hQ==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz", + "integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==", "dependencies": { "@kurkle/color": "^0.3.0" }, diff --git a/apps/google-analytics-4/frontend/src/components/main-app/LineChart/LineChart.tsx b/apps/google-analytics-4/frontend/src/components/main-app/LineChart/LineChart.tsx index c5d7e47f2b..c67bbad64b 100644 --- a/apps/google-analytics-4/frontend/src/components/main-app/LineChart/LineChart.tsx +++ b/apps/google-analytics-4/frontend/src/components/main-app/LineChart/LineChart.tsx @@ -22,7 +22,7 @@ const defaultFontSize = parseRemToPxInt(tokens.fontSizeS); ChartJS.defaults.font.size = defaultFontSize; ChartJS.defaults.font.family = tokens.fontStackPrimary; -ChartJS.defaults.font.weight = tokens.fontWeightMedium.toString(); +ChartJS.defaults.font.weight = tokens.fontWeightMedium; ChartJS.defaults.borderColor = tokens.gray200; ChartJS.defaults.datasets.line.borderColor = tokens.colorPrimary; @@ -69,8 +69,7 @@ const LineChart = (props: Props) => { }, bodyFont: { size: defaultFontSize, - // TO:DO once font weight is added to F36, replace with token - weight: '700', + weight: tokens.fontWeightDemiBold, }, displayColors: false, callbacks: {