Uncaught Error: xAxis "0" not found
来源:互联网 发布:apk文件提取直播源码 编辑:程序博客网 时间:2024/05/23 02:04
1、错误描述
echarts.js:6064 Method `dispose` should be implemented in custom.(anonymous) @ echarts.js:6064echarts.js:25450 Uncaught Error: xAxis "0" not found at cartesian2d (http://localhost:8888/EChart/js/echarts.js:25450:28) at createListFromArray (http://localhost:8888/EChart/js/echarts.js:25357:36) at ExtendedClass.getInitialData (http://localhost:8888/EChart/js/echarts.js:26395:21) at ExtendedClass.init (http://localhost:8888/EChart/js/echarts.js:17365:30) at ExtendedClass.<anonymous> (http://localhost:8888/EChart/js/echarts.js:2459:45) at Array.forEach (native) at each (http://localhost:8888/EChart/js/echarts.js:3226:18) at ExtendedClass.visitComponent (http://localhost:8888/EChart/js/echarts.js:2420:18) at Function.entity.topologicalTravel (http://localhost:8888/EChart/js/echarts.js:16078:31) at ExtendedClass.mergeOption (http://localhost:8888/EChart/js/echarts.js:2389:29)
2、错误原因
xAxis:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],xAxis直接接收X轴的data值,应该是在大括号里包裹data值
3、解决办法
xAxis:{type: 'category',data:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]}
阅读全文
0 0
- Uncaught Error: xAxis "0" not found
- PHP message: PHP Fatal error: Uncaught Error: Class 'Mongo' not found
- PHP Fatal error: Uncaught Error: Class 'ZipArchive' not found in /nginx/html/vendor/phpoffice/phpex
- 解决php7中 ”Uncaught Error: Class 'mysqli' not found“的问题
- error RC2135 : file not found: 0
- error: APR not found
- Drupal_404 NOT FOUND error
- ERROR: libstagefright_h264 not found
- ERROR: libstagefright_h264 not found
- ERROR: libx264 not found
- ERROR: libx264 not found
- error: device not found
- javaScript Uncaught reference error: $ is not defined error
- HTTP Error 404.3 - Not Found
- Linux_su : command not found error
- ADF: Error 404 not found
- weblogic Error 404--Not Found
- weblogic Error 404--Not Found
- 常用Linux命令:sed
- Android SQLite数据库版本升级原理解析
- 暴力拆解《Numerical Optimization》之器材准备
- readlink命令
- LinkedBlockingQueue,ConcurrentHashMap,SparseArray用法
- Uncaught Error: xAxis "0" not found
- RecyclerView的使用解析
- 《Java源码分析》:Future、RunnableFuture、FutureTask
- HTML系列之单选框 复选框 下拉菜单(四)
- TextView实现打印机效果
- POJ 2009 Moo University
- 565. Array Nesting
- 基于opencv计算星云图像的面积与周长
- JavaScript实现放大镜效果