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

Automatic recreating after changing the window size #4

@ronny332

Description

@ronny332

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions