angular-chartjs icon indicating copy to clipboard operation
angular-chartjs copied to clipboard

Don't work with IE8 + excanvas polyfill.

Open ivanhtp opened this issue 12 years ago • 9 comments

The chartJS documentation, supports IE8 if you use excanvas.js. So I imported it and in addition, I used your directive as attribute instead of element (

For some reason, this directive dont work in ie8, even with the polyfill. In ie8 console we got TypeError: Object doesn't support this property or method<:canvas autofit="false options="barOptions" dataset="report.barData" cjs-bar

ivanhtp avatar Jul 10 '14 17:07 ivanhtp

I'd need to see a JsBin or something like that to begin any kind of real debugging for this one...

My gut says this is soon to be irrelevant as the ChartJS library is finally being bumped up to it's 1.0beta release and there have been sweeping API and internal changes that may have solved this issue. It's not likely a problem with this plugin.

I'll be updating this plugin accordingly with the new ChartJS updates and I'll keep an eye out for this problem in any case.

txbm avatar Jul 11 '14 21:07 txbm

Thanks for the reply,

I thought it was a plugin problem, cause the Chartjs purely (out of an angular environment, without any binding) works well with excanvas. But I'll wait the new releases.

On Fri, Jul 11, 2014 at 6:37 PM, Peter M. Elias [email protected] wrote:

I'd need to see a JsBin or something like that to begin any kind of real debugging for this one...

My gut says this is soon to be irrelevant as the ChartJS library is finally being bumped up to it's 1.0beta release and there have been sweeping API and internal changes that may have solved this issue. It's not likely a problem with this plugin.

I'll be updating this plugin accordingly with the new ChartJS updates and I'll keep an eye out for this problem in any case.

— Reply to this email directly or view it on GitHub https://github.com/petermelias/angular-chartjs/issues/6#issuecomment-48785965 .

ivanhtp avatar Jul 11 '14 22:07 ivanhtp

Just setup Plunkr or a Jsbin with the code that causes the error-- I'll take a look.

txbm avatar Jul 12 '14 04:07 txbm

Backburnering this unless somebody can reproduce and provide a Plunkr for it.

txbm avatar Sep 02 '14 03:09 txbm

I'm having this same issue in IE8. Trying to create a Plunkr, JSBin or similar but having issues with them in IE8 as well. Would a zip file with an example work?

robfarmer-ai avatar Oct 21 '14 13:10 robfarmer-ai

@robfarmer-ai yeah sure email it to me

txbm avatar Oct 22 '14 14:10 txbm

@petermelias Any luck with this issue?

robfarmer-ai avatar Oct 29 '14 17:10 robfarmer-ai

@petermelias I fixed this issue for a project I am working on and fixed the source locally. I have created the following pull request: https://github.com/petermelias/angular-chartjs/pull/36

jfeigel avatar Dec 17 '14 15:12 jfeigel

Pull request works On Dec 17, 2014 9:02 AM, "James" [email protected] wrote:

@petermelias https://github.com/petermelias I fixed this issue for a project I am working on and fixed the source locally. How would you like me to get it to you?

— Reply to this email directly or view it on GitHub https://github.com/petermelias/angular-chartjs/issues/6#issuecomment-67334110 .

txbm avatar Dec 19 '14 20:12 txbm