I have to redraw d3 chart on resize to make it responsive. But the problem is when I open the modal chart is redrawn again even though there is no window resize. This is happening because of ionic modal triggers window.resize event.
I guess there must be a valid reason for this. But can anyone help me with how to handle this thing, so that chart is not repainted on opening modal?