get last updated brush states issue

主宰稳场 提交于 2019-12-12 04:32:45

问题


I looked every where and I tried several solution but I wasn't able to find something similar to brushend in angular-nvd3 lineWithFocusChart. in fact I'm trying to get the details of the rendered brush extent. I tried

callback : function(chart) {
            chart.focus.dispatch.on('brush', function(e) {
                console.log("hello", e)
            });
        }

But it renders all details and not the last one and when I use 'brushend' i get an error message like if the dispatch is undefined d3.js:492 Uncaught TypeError: Cannot read property 'on' of undefined. Can you please help me :(

来源:https://stackoverflow.com/questions/41138480/get-last-updated-brush-states-issue

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