Commit f1c9a2a6 authored by nikogu's avatar nikogu
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment