Skip to content

Commit ce4d235

Browse files
committed
violin chart colors in line with the other charts
1 parent 8c19557 commit ce4d235

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/graphs/ViolinChart.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ const ViolinChart = ({
289289
.attr('transform', `translate(${centerPos}, 0)`)
290290
.style('fill', 'steelblue')
291291
.style('stroke', 'darkblue')
292-
.style('opacity', 0.5);
292+
.style('opacity', 1);
293293

294-
drawQuartileLines(real, 'left', 'steelblue');
294+
drawQuartileLines(real, 'left', 'darkblue');
295295
}
296296
}
297297

@@ -304,9 +304,9 @@ const ViolinChart = ({
304304
.attr('transform', `translate(${centerPos}, 0)`)
305305
.style('fill', 'orange')
306306
.style('stroke', '#ff6200')
307-
.style('opacity', 0.5);
307+
.style('opacity', 1);
308308

309-
drawQuartileLines(synthetic, 'right', 'orange');
309+
drawQuartileLines(synthetic, 'right', '#ff6200');
310310
}
311311
}
312312
});
@@ -347,7 +347,7 @@ const ViolinChart = ({
347347
.attr('height', 55)
348348
.attr('rx', 5)
349349
.style('fill', 'white')
350-
.style('opacity', 0.7)
350+
.style('opacity', 1)
351351
.style('stroke', '#e2e8f0')
352352
.style('stroke-width', 1);
353353

@@ -359,7 +359,7 @@ const ViolinChart = ({
359359
.attr('width', 15)
360360
.attr('height', 15)
361361
.style('fill', 'steelblue')
362-
.style('opacity', 0.5);
362+
.style('opacity', 1);
363363

364364
legend
365365
.append('text')
@@ -375,7 +375,7 @@ const ViolinChart = ({
375375
.attr('width', 15)
376376
.attr('height', 15)
377377
.style('fill', 'orange')
378-
.style('opacity', 0.5);
378+
.style('opacity', 1);
379379

380380
legend
381381
.append('text')

0 commit comments

Comments
 (0)