5👍
✅
Initialize the chart after the modal is loaded. You could do this in the shown.bs.modal
handler
$('#myModal').on('shown.bs.modal', function (e) {
// do something...
})
Source:stackexchange.com