ui-chart icon indicating copy to clipboard operation
ui-chart copied to clipboard

Automatic recreating after changing the window size

Open ronny332 opened this issue 11 years ago • 0 comments

Dear ui-chart team,

on fixed windows sizes (tablets, ...) it doesn't make a lot of sense, but for a normal desktop environment an automatic recreation of the plot canvas would be very useful if the user resizes the window.

Adding

    $(window).resize(function(){
      renderChart();
    });

directly after the linking function of the directive would solve the issue in a very simple way.

ronny332 avatar Jan 02 '14 14:01 ronny332