I'm using angularchart to create charts in my web application.
I have this pretty standard markup which works fine with firefox and chrome:
<div ng-if="visible">
<canvas height="20%" width="80%" style="width: 80%; height: 20%;" id="line_general" class="chart chart-line" chart-data="lineData" chart-legend="true" chart-colours="colours"
chart-labels="lineLabels" chart-series="lineSeries"/>
</div>
It works on every screen size and if you reduce the screen it automatically resizes. However, on internet explorer (my version is 10) it doesn't work: it not only does not resize but the resulting graph is also blurred.
How can I solve that?
edit:
interesting enough, it seems the culprit is that ng-if in the outside div! By removing it it seems working fine on ie as well. Nevertheless, I need that ng-if so simply removing it doesn't solve my problem...