I am having a really strange error while using AmCharts preview in twitter bootstrap modal.
Actually its a modal that is used to preview some graph data but it does not actually shows graphs sometimes until:
-I open inspect element dialog.(means window resize event)
-Or by re sizing the inspect element dialog if its already open.(again means window resize event)
-I manually resize browser window
From perspective of my backend there is no problem sending data it always send same data.
I know my problem is really silly but i think may be someone might occurred with this one.
Thanks in advance
had the same problem, fixed by resizing after modal is shown
$('#myModal').on('shown.bs.modal', function (e) {
chart.invalidateNow();
chart.validateSize();
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With