Skip to content

Commit 1e75018

Browse files
committed
Fix green opacity in charts
1 parent ea24b9c commit 1e75018

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/PerfProblemSimulator/wwwroot/js/dashboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ function initializeCharts() {
456456
label: 'Memory MB',
457457
data: [],
458458
borderColor: '#107c10',
459-
backgroundColor: 'rgba(16, 124, 16, 0.1)',
459+
backgroundColor: 'rgba(16, 124, 16, 0.2)',
460460
tension: 0.3,
461461
fill: 'origin',
462462
yAxisID: 'y1',
@@ -1004,7 +1004,7 @@ function updateLatencyChart() {
10041004
const gradient = ctx.createLinearGradient(0, 0, 0, gradientHeight);
10051005
gradient.addColorStop(0, 'rgba(209, 52, 56, 0.3)'); // Red at top (high latency)
10061006
gradient.addColorStop(0.5, 'rgba(255, 185, 0, 0.2)'); // Yellow in middle
1007-
gradient.addColorStop(1, 'rgba(16, 124, 16, 0.1)'); // Green at bottom (low latency)
1007+
gradient.addColorStop(1, 'rgba(16, 124, 16, 0.2)'); // Green at bottom (low latency)
10081008

10091009
// Map data points to colors based on latency
10101010
const pointColors = history.values.map((v, i) => {

0 commit comments

Comments
 (0)