amcharts / amcharts4

The most advanced amCharts charting library for JavaScript and TypeScript apps.
https://www.amcharts.com/
1.16k stars 322 forks source link

force directed graph : label on edge and graph going out of bounds #4400

Closed annajavascript closed 5 months ago

annajavascript commented 6 months ago

I am not able to add any labels on edges. Is there any work around for that? also, graph is going out of bound even after setting width & height. scroll not working.

image
martynasma commented 6 months ago

Please refer to this tutorial: https://www.amcharts.com/docs/v4/tutorials/labels-on-top-of-the-forcedirectednode/

For zooming: https://www.amcharts.com/docs/v4/chart-types/force-directed/#Zooming

annajavascript commented 6 months ago

sorry, i meant the whole graph is going out of bounds. like in the image, node near to top border of the container is hidden behind it. not able to resolve this. also, I am not able to add any label on edges of force directed graph. Please help me on that also

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.