Morris.js is great, simple and lightweight charts library powered by jQuery and Raphael. Unfortunately you may encounter an issue when you will try to plot a chart on element with
display:none property – for example when using Twitter’s Bootstrap tabbed component – it just doesn’t render properly. So as a quick workaround you can fire-up after showing that element.
shown even that is fired after the tab has been shown. Just like that:
1 2 3 4
Just create a simple snippet and you are good to go.