gwatts / jquery.sparkline

A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
http://omnipotent.net/jquery.sparkline/
1.24k stars 278 forks source link

sparkline.js is not compatible with jquery-1.9.1.min.js and above #128

Open K-7 opened 10 years ago

K-7 commented 10 years ago

It looks like sparkline.js is not compatible with jquery-1.9.1.min.js and above. Please let me know the fix if exists

MikeRobertson commented 9 years ago

From http://omnipotent.net/jquery.sparkline/#s-news

15 June 2013 - Version 2.1.2 Relased This release adds support for jQuery 1.10.0 and other bug fixes and minor improvements.

26 January 2013 - Version 2.1.1 Relased This release adds support for jQuery 1.9.0 along with a couple of other bug fixes.

If you're using a version of jQuery later than 1.8, be extra sure you're not rendering your page in quirks mode to avoid breaking tooltips for IE users. See jQuery's notes on quirks compatiblity for more info.

K-7 commented 9 years ago

Yup , thank you buddy.. works fine with Version 2.1.2 relase

Legends commented 7 years ago

I got problems in my app when I switch from 2.1.1 to jquery 3.1.1, but only on one page where I have 22 sparklines and only when I call the destroy function.

What happens is, the windows freezes and the destroy takes 1-1,5s for every destroy times 22 =~30s

I cannot reproduce it standalone, but when I switch back from 3.1 to v2.1 the problem dissapears, so it must be something realted to this jQuery version!