echarts与360的兼容性-
echarts 3.7.1和echarts-gl 1.0.0-beta.5在firefox和chrome下都没有问题,但是在360极速模式下就有问题 Uncaught TypeError: Cannot read property 'length' of undefined at LayerGL.refresh (echarts-gl.js:37060) at Painter.refresh (echarts.js:22916) at ZRender.refreshImmediately (echarts.js:20115) at ZRender.flush (echarts.js:20140) at Object.update (echarts.js:3374) at Animation._update (echarts.js:21865) at step (echarts.js:21879) 和类似的问题 Uncaught TypeError: Cannot read property 'indexOf' of undefined at LayerGL.addView (http://test.oilgaslink.com/static/js/echarts-gl.js:36949:35) at http://test.oilgaslink.com/static/js/echarts-gl.js:27118:25 at http://test.oilgaslink.com/static/js/echarts.js:2702:29 at Array.forEach (native) at each (http://test.oilgaslink.com/static/js/echarts.js:3257:18) at http://test.oilgaslink.com/static/js/echarts.js:2701:22 at HashMap.each (http://test.oilgaslink.com/static/js/echarts.js:3579:25) at ExtendedClass.eachComponent (http:
实时原油-折线
个人练习所做
echarts-gl mapbox 无法显示 请指教-lines3D
本地运行 Uncaught Invalid geoJson format TypeError: i.parseGeoJSON is not a function 全面模仿官方例子 跟踪代码 loadGeoJson: function (geoJson, specialAreas, nameMap) { try { this.regions = geoJson ? __WEBPACK_IMPORTED_MODULE_0_echarts_lib_echarts___default.a.parseGeoJSON(geoJson) : []; } catch (e) { throw 'Invalid geoJson format\n' + e; }
双层嵌套柱子加上指引线-柱状
现在的柱子是没有数值的 要加上左右两边的指引线
双坐标轴设置最小值问题-柱状
双坐标轴,其中一个 坐标轴设置了最小值为5,另一个坐标轴最小值为0,第一个坐标轴的数据会超出X轴,想要的效果是不要超出,例子是官方例子,我只是改了个最小值,实际应用 中是一个轴是10000以上的数据,另一个轴是0-1的数据
gl test instance-地图
echarts-gl 测试实例,参考pissang gl例子
2014年中国耕地质量-treemap
数据来源:国土资源部
2014年中国耕地质量-treemap
数据来源:国土资源部