javascript - Resolve Conflict When Using Highchart and Treemap together ( f.inArray is not a function) -
angular.min.js:2 typeerror: f.inarray not function @ http://localhost/root/app/js/highcharts/treemap.js:109:31 @ c (http://localhost/root/app/js/highcharts/treemap.js:28:51) @ object.j.treemap.o.getlistofparents (http://localhost/root/app/js/highcharts/treemap.js:106:13) @ object.j.treemap.o.gettree (http://localhost/root/app/js/highcharts/treemap.js:120:19) @ object.j.treemap.o.translate (http://localhost/root/app/js/highcharts/treemap.js:379:34) @ http://localhost/root/app/js/highcharts/highcharts.js:1:107698 @ array.foreach (native) @ each.array.foreach.g (http://localhost/root/app/js/highcharts/highcharts.js:1:7474) @ object.d.renderseries (http://localhost/root/app/js/highcharts/highcharts.js:1:107670) @ object.d.render (http://localhost/root/app/js/highcharts/highcharts.js:1:108560)
- i've traced problem f.inarray function appear in treemap.js
sample code working in jsfiddle is not working in project
i ran problem now.
what version of jquery referencing ? suspect issue might because i'm using jquery v1.11.3, inarray added in v1.2
source: https://api.jquery.com/jquery.inarray/
jquery.inarray( value, array [, fromindex ] ) version added: 1.2
Comments
Post a Comment