Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Automatic recreating after changing the window size #4

Open
ronny332 opened this issue Jan 2, 2014 · 0 comments
Open

Automatic recreating after changing the window size #4

ronny332 opened this issue Jan 2, 2014 · 0 comments

Comments

@ronny332
Copy link

ronny332 commented Jan 2, 2014

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant