【发布时间】:2020-11-04 17:23:06
【问题描述】:
这里是 amchart 强制定向树 https://www.amcharts.com/demos/force-directed-tree/ 的示例
有没有办法记住所有节点的位置,然后在页面刷新后正确显示?
【问题讨论】:
标签: javascript amcharts amcharts4
这里是 amchart 强制定向树 https://www.amcharts.com/demos/force-directed-tree/ 的示例
有没有办法记住所有节点的位置,然后在页面刷新后正确显示?
【问题讨论】:
标签: javascript amcharts amcharts4
要为特定网页存储和加载任何类型的数据,最常见的方法之一是使用浏览器的 LocalStorage api。 https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
【讨论】: