-1
我在IE8中收到以下问题。我的代码在Chrome,Mozilla和IE10中运行良好。由于IE8不支持canvas我得到以下问题的:对象不支持IE8中的属性或方法'fillText'
对象不支持属性或方法“fillText方法”
这里是我得到这个jQuery的行错误:
context.font = basefont+"px 'Trebuchet MS', Verdana, sans-serif";
context.fillText((Math.round(parseFloat(v['value']/totalValue * 1000)))/
有没有人有解决方案?
使用polyfill。 Google“帆布填充物” – Doggo