|
|
|
@@ -153,11 +153,11 @@ function ExperimentChart({ chartData, style }: ExperimentChartProps) { |
|
|
|
show: false, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
{ value: chartData.Failed > 0 ? chartData.Failed : null, name: '失败' }, |
|
|
|
{ value: chartData.Succeeded > 0 ? chartData.Succeeded : null, name: '成功' }, |
|
|
|
{ value: chartData.Terminated > 0 ? chartData.Terminated : null, name: '中止' }, |
|
|
|
{ value: chartData.Pending > 0 ? chartData.Pending : null, name: '等待' }, |
|
|
|
{ value: chartData.Running > 0 ? chartData.Running : null, name: '运行中' }, |
|
|
|
{ value: chartData.Failed > 0 ? chartData.Failed : undefined, name: '失败' }, |
|
|
|
{ value: chartData.Succeeded > 0 ? chartData.Succeeded : undefined, name: '成功' }, |
|
|
|
{ value: chartData.Terminated > 0 ? chartData.Terminated : undefined, name: '中止' }, |
|
|
|
{ value: chartData.Pending > 0 ? chartData.Pending : undefined, name: '等待' }, |
|
|
|
{ value: chartData.Running > 0 ? chartData.Running : undefined, name: '运行中' }, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
|