1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

chart color update

This commit is contained in:
Marek Farkaš
2025-02-23 16:18:34 +01:00
parent f20035cdf5
commit 2d6db41e9e

View File

@@ -514,7 +514,7 @@ function initCanvas() {
const y2Axis = scales.y2;
const gridLineColor = getComputedStyle(document.documentElement).getPropertyValue("--color-2-transparent").trim(); // Grid color using CSS variable
const textColor = getComputedStyle(document.documentElement).getPropertyValue("--color-3").trim(); // Use the same color for text labels
const textColor = getComputedStyle(document.documentElement).getPropertyValue("--color-5").trim(); // Use the same color for text labels
ctx.save();
ctx.font = "12px Titillium Web";