From 2540a89baedea0fa43f1381a6e74329eb9ca2e27 Mon Sep 17 00:00:00 2001 From: Manohar Date: Fri, 15 May 2026 10:14:02 +0530 Subject: [PATCH] fix: slot label literal, netqty filter, today-only closed, green/red payoff lines, SD+breakeven% annotations --- public/index.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 263871e..709f07b 100644 --- a/public/index.html +++ b/public/index.html @@ -590,10 +590,8 @@ async function loadPayoff() { data: { labels: xs, datasets: [ - { label:'Profit Zone', data:ys.map(function(y){return y>=0?y:0;}), borderColor:'transparent', backgroundColor:'rgba(46,204,113,0.18)', tension:0, pointRadius:0, fill:true }, - { label:'Loss Zone', data:ys.map(function(y){return y<0?y:0;}), borderColor:'transparent', backgroundColor:'rgba(231,76,60,0.18)', tension:0, pointRadius:0, fill:true }, - { label:'P&L', data:ys, borderColor:'#FF6B4A', borderWidth:2.5, tension:0, pointRadius:0, fill:false } - ] + {label:'Profit Zone',data:ys.map(function(y){return y>=0?y:0;}),borderColor:'rgba(46,204,113,0.85)',backgroundColor:'rgba(46,204,113,0.12)',tension:0,pointRadius:0,borderWidth:2,fill:true}, + {label:'Loss Zone',data:ys.map(function(y){return y<=0?y:0;}),borderColor:'rgba(231,76,60,0.85)',backgroundColor:'rgba(231,76,60,0.12)',tension:0,pointRadius:0,borderWidth:2,fill:true}] }, options: { responsive:true, maintainAspectRatio:false, animation:false,