Commit f1c9a2a6 authored by nikogu's avatar nikogu
parent ae1f594f
......@@ -69,7 +69,7 @@ class Radar extends PureComponent {
const chart = new G2.Chart({
container: this.node,
forceFit: fit,
height: height - 22,
height: height - (hasLegend ? 80 : 22),
plotCfg: {
margin,
},
......
......@@ -241,7 +241,7 @@ export default class Workplace extends PureComponent {
loading={radarData.length === 0}
>
<div className={styles.chart}>
<Radar hasLegend height={286} data={radarData} />
<Radar hasLegend height={343} data={radarData} />
</div>
</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