Conflict of IonicModal with AngularNVD3 (based on D3)

I’m using nvd3 in my Ionic App. There is a scenario in which I face an issue i.e. I’ve a PieChart on one tab and IonicModal on another tab. Once I open the IonicModal, and after that when I come on the PieChart Tab, the chart becomes so small. Looks so strange to me, because if the IonicModal is on the same tab, and the pieChart is visible, so Modal will not affect the pieChart, but if pieChart is hidden and I open the Modal, so the chart again becomes so small (Design is disturbed)…

Please see the attached image… image