fix(explorer): remove purple from ping (#23445)
This commit is contained in:
parent
9ec514f6c5
commit
d43786edcf
|
@ -193,10 +193,10 @@ function PingBarChart({ pingInfo }: { pingInfo: PingRollupInfo }) {
|
||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
backgroundColor: seriesData.map((val) =>
|
backgroundColor: seriesData.map((val) =>
|
||||||
val.loss ? "#fa62fc" : "#00D192"
|
val.loss > 0.5 ? "#f00" : "#00D192"
|
||||||
),
|
),
|
||||||
hoverBackgroundColor: seriesData.map((val) =>
|
hoverBackgroundColor: seriesData.map((val) =>
|
||||||
val.loss ? "#fa62fc" : "#00D192"
|
val.loss > 0.5 ? "#f00" : "#00D192"
|
||||||
),
|
),
|
||||||
borderWidth: 0,
|
borderWidth: 0,
|
||||||
data: seriesData.map((val) => val.mean || 0),
|
data: seriesData.map((val) => val.mean || 0),
|
||||||
|
|
Loading…
Reference in New Issue