Mikhus / canvas-gauges

HTML5 Canvas Gauge. Tiny implementation of highly configurable gauge using pure JavaScript and HTML5 canvas. No dependencies. Suitable for IoT devices because of minimum code base.
http://canvas-gauges.com/
MIT License
1.57k stars 396 forks source link

linear Gauge not work on IE11 #101

Closed ybenameur closed 7 years ago

ybenameur commented 7 years ago

Hi Version 2.1.1 i tested the 2 examples shipped with the download .i tried them on Firefox all is ok but on IE they dont work at all ( black screen with 2 buttons : animate & stop animation). 1.linear-component.html 2.linear-min-non-zero.html in edge they work as well. in the html code i added the meta tag meta http-equiv="X-UA-Compatible" content="IE=edge" (with brackets) but not sucessfull. Another question : how can make lineargradient or a clipped image as gauge background ? thank you.

Mikhus commented 7 years ago

Fixed in branch v2.1.2 Test URL: https://rawgit.com/Mikhus/canvas-gauges/v2.1.2/examples/linear-component.html