performance issue using dc.js and ui-router with tabs

你离开我真会死。 提交于 2019-12-02 07:35:17

There is the undocumented dc.chartRegistry.deregister(chart,group):

https://github.com/dc-js/dc.js/blob/master/src/core.js#L70

But a bigger performance hit is if you are creating dimensions or groups and not disposing of them:

https://github.com/square/crossfilter/wiki/API-Reference#dimension_dispose https://github.com/square/crossfilter/wiki/API-Reference#group_dispose

This would cause more and more indices to be created, and all the data would have to get sorted and binned in more and more ways.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!