diff --git a/src/views/EventDetail/components/TransmissionChainAnalysis.js b/src/views/EventDetail/components/TransmissionChainAnalysis.js index c9ce0085..412fdf43 100644 --- a/src/views/EventDetail/components/TransmissionChainAnalysis.js +++ b/src/views/EventDetail/components/TransmissionChainAnalysis.js @@ -349,7 +349,7 @@ function getSankeyOption(data) { title: { text: '事件影响力传导流向', left: 'center', - top: 10, + top: 5, textStyle: { color: '#00d2d3', fontSize: 16, @@ -379,6 +379,10 @@ function getSankeyOption(data) { series: [{ type: 'sankey', layout: 'none', + top: 50, // 给标题留出空间 + bottom: 20, + left: 20, + right: 150, // 右侧留空间给标签 emphasis: { focus: 'adjacency' }, nodeAlign: 'justify', layoutIterations: 0,