1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 14:11:59 +01:00

graph color update

This commit is contained in:
Marek Farkaš
2025-02-23 16:06:09 +01:00
parent a207029530
commit f20035cdf5

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-transparent").trim(); // Use the same color for text labels
const textColor = getComputedStyle(document.documentElement).getPropertyValue("--color-3").trim(); // Use the same color for text labels
ctx.save();
ctx.font = "12px Titillium Web";