[Perl] DAQ system for the FAPG.
Update probe line charts appearance.
roles/dashboard/public/js/dashboard.js
@@ -57,6 +57,7 @@
57
57
};
58
58
const SMOOTHING_WINDOW = 7;
59
59
const MAX_TIMEFRAME_RANGE = 24;
60
Added:
const PRIMARY_CHART_COLOR = "#276749";
60
61
let activeTimeframe = DEFAULT_TIMEFRAME;
61
62
let expandedTimeframe = null;
62
63
let smoothingEnabled = true;
@@ -689,7 +690,11 @@
689
690
label: `${probe} ${unit ? `(${unit})` : ""}${smoothingEnabled ? " smoothed" : ""}`,
690
691
data: values,
691
692
tension: 0.2,
692
Removed:
pointRadius: 0
693
Added:
borderColor: PRIMARY_CHART_COLOR,
694
Added:
backgroundColor: PRIMARY_CHART_COLOR,
695
Added:
pointBackgroundColor: PRIMARY_CHART_COLOR,
696
Added:
pointRadius: 3,
697
Added:
pointHoverRadius: 5
693
698
}]
694
699
},
695
700
options: {