平行坐标上的 Axes-Reordering 事件
Axes-Reordering event on parallel coordinates
我仍在使用 https://github.com/syntagmatic/parallel-coordinates#parallel-coordinates 和 d3.js
绘制平行坐标图
轴重新排序后我需要更新一些东西。
因此,尝试向 parcoords 添加一个侦听器,但我没有找到如何调用在重新排序轴时触发的事件。
我使用 .reorderable() 方法启用重新排序。
我试过了
parcoords.on("dimensions",function (){
alert('reorder');
});
但 "dimensions" 不是正确的事件,它仅在使用 .dimensions() 方法更改轴后触发。
翻了库的例子,只找到了刷机事件,翻了api描述,也没找到合适的事件。
问题是:重新排序事件叫什么?
提前致谢
问候琼斯
活动名为 "axesreorder"。
它和其他事件可以在这里找到:https://github.com/syntagmatic/parallel-coordinates/blob/master/src/events.js(第一行)
我仍在使用 https://github.com/syntagmatic/parallel-coordinates#parallel-coordinates 和 d3.js
绘制平行坐标图轴重新排序后我需要更新一些东西。
因此,尝试向 parcoords 添加一个侦听器,但我没有找到如何调用在重新排序轴时触发的事件。
我使用 .reorderable() 方法启用重新排序。 我试过了
parcoords.on("dimensions",function (){
alert('reorder');
});
但 "dimensions" 不是正确的事件,它仅在使用 .dimensions() 方法更改轴后触发。 翻了库的例子,只找到了刷机事件,翻了api描述,也没找到合适的事件。
问题是:重新排序事件叫什么?
提前致谢
问候琼斯
活动名为 "axesreorder"。
它和其他事件可以在这里找到:https://github.com/syntagmatic/parallel-coordinates/blob/master/src/events.js(第一行)