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,