javascript - renderEnd not firing on Horizontal Bar Chart [nvd3] -
let me preface saying have bar, pie , line charts renderend works fine.
i'm trying modify styling on horizontal bar chart, can fine either in callback or renderend , results can seen in browser. problem occurs when resizing window, custom styling removed , chart resets.
testing render end simple console.log on other charts, log fires each time window resized, far understand renderend should, on horizontal bar chart isn't case , gets fired when page loads.
here's 2 plunker's of horizontal bar chart , vertical bar chart, if open console , watch height (on horizontal) , width (on vertical) can see renderend fires on load on horizontal chart fires on load , each time window resized on vertical chart.
if me out i'd appreciate it!
horizontal bar chart: http://embed.plnkr.co/ua2igvshet2zzeyrtza2/
vertical bar chart: http://embed.plnkr.co/ems2abmdegs8harklkdy/
thanks.
Comments
Post a Comment