Fix: Chart colors forced to green palette (no blue tones)
All checks were successful
Docker Build & Push / build-and-push (push) Successful in 24s
All checks were successful
Docker Build & Push / build-and-push (push) Successful in 24s
This commit is contained in:
@@ -406,21 +406,21 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
||||
tooltipTriggerList.map(function (tooltipTriggerEl) { return new bootstrap.Tooltip(tooltipTriggerEl) });
|
||||
|
||||
// Chart logic (GREEN TONES - High Contrast)
|
||||
// Chart logic (PURE GREEN TONES - High Contrast)
|
||||
Chart.register(ChartDataLabels);
|
||||
// Hand-picked palette for better distinction
|
||||
|
||||
const greenColors = [
|
||||
'#1a535c', // Dark Teal
|
||||
'#4ecdc4', // Teal
|
||||
'#f7fff7', // Very Light (almost white, maybe too light? Let's use a light mint) -> #d8f3dc
|
||||
'#006400', // Dark Green
|
||||
'#2d6a4f', // Deep Green
|
||||
'#40916c', // Medium Green
|
||||
'#52b788', // Light Green
|
||||
'#74c69d', // Lighter Green
|
||||
'#95d5b2', // Pale Green
|
||||
'#b7e4c7', // Very Pale Green
|
||||
'#d8f3dc' // Mint
|
||||
'#2e7d32', // Dark Forest Green
|
||||
'#4caf50', // Standard Green
|
||||
'#81c784', // Light Pastel Green
|
||||
'#a5d6a7', // Very Light Green
|
||||
'#1b5e20', // Deep Dark Green
|
||||
'#66bb6a', // Medium Green
|
||||
'#00e676', // Neon Green (Accent)
|
||||
'#c8e6c9', // White-Green
|
||||
'#00c853', // Vibrant Green
|
||||
'#69f0ae', // Soft Neon
|
||||
'#388e3c' // Solid Green
|
||||
];
|
||||
|
||||
const chartOptions = {
|
||||
|
||||
Reference in New Issue
Block a user