【问题标题】:Is there any way to save / remember position of the nodes of amchart force directed tree?有没有办法保存/记住 amchart 强制定向树节点的位置?
【发布时间】:2020-11-04 17:23:06
【问题描述】:

这里是 amchart 强制定向树 https://www.amcharts.com/demos/force-directed-tree/ 的示例

有没有办法记住所有节点的位置,然后在页面刷新后正确显示?

【问题讨论】:

    标签: javascript amcharts amcharts4


    【解决方案1】:

    要为特定网页存储和加载任何类型的数据,最常见的方法之一是使用浏览器的 LocalStorage api。 https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage

    【讨论】:

      猜你喜欢
      • 2020-05-17
      • 2022-08-03
      • 2014-03-02
      • 2010-09-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-02-24
      • 1970-01-01
      相关资源
      最近更新 更多