Skip to content Skip to sidebar Skip to footer

Issue In Width Of The Chart

I'm working on a project in which the design is similar to that of the one in the fiddle. Side navigation of the left with toggle option and the chart on to the right side. What's

Solution 1:

Solution 2:

The chart seem to be redrawn/resized on a window resize event so you could trigger that event after toggling the sidebar.

$('#toggle-button').click(function() {
    $('body').toggleClass('toggle-sidebar');
    $(window).resize();
})

Demo jsFiddle

Post a Comment for "Issue In Width Of The Chart"