提交 f1c9a2a6 编写于 作者: N nikogu
上级 ae1f594f
...@@ -69,7 +69,7 @@ class Radar extends PureComponent { ...@@ -69,7 +69,7 @@ class Radar extends PureComponent {
const chart = new G2.Chart({ const chart = new G2.Chart({
container: this.node, container: this.node,
forceFit: fit, forceFit: fit,
height: height - 22, height: height - (hasLegend ? 80 : 22),
plotCfg: { plotCfg: {
margin, margin,
}, },
......
...@@ -241,7 +241,7 @@ export default class Workplace extends PureComponent { ...@@ -241,7 +241,7 @@ export default class Workplace extends PureComponent {
loading={radarData.length === 0} loading={radarData.length === 0}
> >
<div className={styles.chart}> <div className={styles.chart}>
<Radar hasLegend height={286} data={radarData} /> <Radar hasLegend height={343} data={radarData} />
</div> </div>
</Card> </Card>
<Card <Card
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册