You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
graph color update
This commit is contained in:
@@ -514,7 +514,7 @@ function initCanvas() {
|
|||||||
const y2Axis = scales.y2;
|
const y2Axis = scales.y2;
|
||||||
|
|
||||||
const gridLineColor = getComputedStyle(document.documentElement).getPropertyValue("--color-2-transparent").trim(); // Grid color using CSS variable
|
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.save();
|
||||||
ctx.font = "12px Titillium Web";
|
ctx.font = "12px Titillium Web";
|
||||||
|
|||||||
Reference in New Issue
Block a user