i use jquery
, d3.js
draw chart inside message dialog.
how can resize d3.js
chart without redrawing entire chart?
the current solution works inefficient: http://jsfiddle.net/l6ugn/61/ did not figure out how update width, height without redrawing entire chart.
my idea update width , height of svg
. idea how approach it?
d3.select('#msg_dialog > svg') //.selectall("g") .attr('width', width) .attr('height', height);