Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

amcharts - am4plugins_forceDirected.ForceDirectedSeries() doesn't fit in div

var networkSeries = chart.series.push(new am4plugins_forceDirected.ForceDirectedSeries())  

Circle doesn't fit in div and overlap in menu and into the next div.

I tried to use container and doesn't work. Not sure if I'm doing something wrong

 var container = networkSeries.create("container", am4core.Container);
container.width = networkSeries.percent(10);
container.height = networkSeries.percent(10);
container.background.fill = am4core.color("#000");
container.createChild(chart);

find below my screenshot where the circle are hidden behind the menu bar. https://i.stack.imgur.com/Bezj3.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...