mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-08-02 09:51:56 +00:00
fix
This commit is contained in:
parent
cf439cd2c7
commit
51cc33f38c
@ -93,7 +93,7 @@ export default class ListGraph {
|
||||
this.data = data;
|
||||
this.min = d3.min(this.row.map((i) => i.startTime));
|
||||
this.max = d3.max(this.row.map((i) => i.endTime - this.min)) || 0;
|
||||
this.list = useTraceStore().serviceList;
|
||||
this.list = useTraceStore().serviceList || [];
|
||||
this.xScale = d3
|
||||
.scaleLinear()
|
||||
.range([0, this.width * 0.387])
|
||||
|
@ -88,7 +88,7 @@ export default class TraceMap {
|
||||
this.data = data;
|
||||
this.min = Number(d3.min(this.row.map((i: Span) => i.startTime)));
|
||||
this.max = Number(d3.max(this.row.map((i: Span) => i.endTime - this.min)));
|
||||
this.list = useTraceStore().serviceList;
|
||||
this.list = useTraceStore().serviceList || [];
|
||||
this.xScale = d3.scaleLinear().range([0, 100]).domain([0, this.max]);
|
||||
this.sequentialScale = d3
|
||||
.scaleSequential()
|
||||
|
Loading…
Reference in New Issue
Block a user