@@ -176,18 +176,18 @@ export default function ChartContainer({
176176 }
177177 } , [ parsedData , onXRangeChange ] ) ;
178178
179- // Use a lower saturation palette inspired by matplotlib
179+ // Use a modern palette inspired by Tableau 10
180180 const colors = [
181- '#1f77b4 ' , // blue
182- '#ff7f0e ' , // orange
183- '#2ca02c ' , // green
184- '#d62728 ' , // red
185- '#9467bd ' , // purple
186- '#8c564b ' , // brown
187- '#e377c2 ' , // pink
188- '#7f7f7f ' , // gray
189- '#bcbd22 ' , // olive
190- '#17becf ' // cyan
181+ '#4e79a7 ' , // blue
182+ '#f28e2c ' , // orange
183+ '#e15759 ' , // red
184+ '#76b7b2 ' , // teal
185+ '#59a14f ' , // green
186+ '#edc948 ' , // yellow
187+ '#b07aa1 ' , // purple
188+ '#ff9da7 ' , // pink
189+ '#9c755f ' , // brown
190+ '#bab0ab ' // gray
191191 ] ;
192192 const createChartData = dataArray => ( {
193193 datasets : dataArray . map ( ( item , index ) => {
@@ -399,18 +399,18 @@ export default function ChartContainer({
399399 {
400400 label : `${ title } 差值` ,
401401 data : comparisonData ,
402- borderColor : '#dc2626 ' ,
403- backgroundColor : '#dc2626 ' ,
402+ borderColor : '#e15759 ' ,
403+ backgroundColor : '#e15759 ' ,
404404 borderWidth : 2 ,
405405 fill : false ,
406406 tension : 0 ,
407407 pointRadius : 0 ,
408408 pointHoverRadius : 4 ,
409- pointBackgroundColor : '#dc2626 ' ,
410- pointBorderColor : '#dc2626 ' ,
409+ pointBackgroundColor : '#e15759 ' ,
410+ pointBorderColor : '#e15759 ' ,
411411 pointBorderWidth : 1 ,
412- pointHoverBackgroundColor : '#dc2626 ' ,
413- pointHoverBorderColor : '#dc2626 ' ,
412+ pointHoverBackgroundColor : '#e15759 ' ,
413+ pointHoverBorderColor : '#e15759 ' ,
414414 pointHoverBorderWidth : 1 ,
415415 animation : false ,
416416 animations : { colors : false , x : false , y : false } ,
@@ -421,19 +421,19 @@ export default function ChartContainer({
421421 datasets . push ( {
422422 label : 'Baseline' ,
423423 data : baselineData ,
424- borderColor : '#10b981 ' ,
425- backgroundColor : '#10b981 ' ,
424+ borderColor : '#76b7b2 ' ,
425+ backgroundColor : '#76b7b2 ' ,
426426 borderWidth : 2 ,
427427 borderDash : [ 5 , 5 ] ,
428428 fill : false ,
429429 tension : 0 ,
430430 pointRadius : 0 ,
431431 pointHoverRadius : 4 ,
432- pointBackgroundColor : '#10b981 ' ,
433- pointBorderColor : '#10b981 ' ,
432+ pointBackgroundColor : '#76b7b2 ' ,
433+ pointBorderColor : '#76b7b2 ' ,
434434 pointBorderWidth : 1 ,
435- pointHoverBackgroundColor : '#10b981 ' ,
436- pointHoverBorderColor : '#10b981 ' ,
435+ pointHoverBackgroundColor : '#76b7b2 ' ,
436+ pointHoverBorderColor : '#76b7b2 ' ,
437437 pointHoverBorderWidth : 1 ,
438438 animation : false ,
439439 animations : { colors : false , x : false , y : false } ,
0 commit comments