mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 17:05:10 +00:00
update width
This commit is contained in:
parent
046a6c1f9d
commit
814a1a738d
@ -71,7 +71,7 @@ function drawGraph() {
|
|||||||
const width = (graph.value && graph.value.getBoundingClientRect().width) || 0;
|
const width = (graph.value && graph.value.getBoundingClientRect().width) || 0;
|
||||||
const w = width < 800 ? 802 : width;
|
const w = width < 800 ? 802 : width;
|
||||||
flameChart.value = flamegraph()
|
flameChart.value = flamegraph()
|
||||||
.width(w - 2)
|
.width(w - 15)
|
||||||
.cellHeight(18)
|
.cellHeight(18)
|
||||||
.transitionDuration(750)
|
.transitionDuration(750)
|
||||||
.minFrameSize(1)
|
.minFrameSize(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user