From fb8c6cdb3d2596a38aeeadbcc20278f281269f96 Mon Sep 17 00:00:00 2001 From: Deeman Date: Sat, 21 Feb 2026 22:55:16 +0100 Subject: [PATCH] overview: add missing axis labels to supply/demand, STU, and top-producers charts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Supply & Demand chart: Y-axis → '1,000 60-kg bags' - Stock-to-Use chart: Y-axis → 'Stock-to-Use (%)' - Top Producers bar: X-axis → '1,000 60-kg bags' - YoY table: Production column header → 'Production (1k bags)' COT, price, ICE stocks, aging, and by-port charts already had labels. Co-Authored-By: Claude Sonnet 4.6 --- web/src/beanflows/dashboard/templates/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/beanflows/dashboard/templates/index.html b/web/src/beanflows/dashboard/templates/index.html index 71a0ce3..f05afe1 100644 --- a/web/src/beanflows/dashboard/templates/index.html +++ b/web/src/beanflows/dashboard/templates/index.html @@ -81,7 +81,7 @@ Country - Production + Production (1k bags) YoY % @@ -349,7 +349,7 @@ if (tsData.length > 0) { options: { responsive: true, plugins: {legend: {position: 'bottom'}}, - scales: {y: {beginAtZero: false}} + scales: {y: {title: {display: true, text: '1,000 60-kg bags'}, beginAtZero: false}} } }); } @@ -373,7 +373,7 @@ if (stuData.length > 0) { options: { responsive: true, plugins: {legend: {display: false}}, - scales: {y: {beginAtZero: false}} + scales: {y: {title: {display: true, text: 'Stock-to-Use (%)'}, beginAtZero: false}} } }); } @@ -597,7 +597,7 @@ if (topData.length > 0) { indexAxis: 'y', responsive: true, plugins: {legend: {display: false}}, - scales: {x: {beginAtZero: true}} + scales: {x: {title: {display: true, text: '1,000 60-kg bags'}, beginAtZero: true}} } }); }