Uncaught error:xaxis "0" not found

Source: Internet
Author: User

1. Error description

echarts.js:6064 method ' Dispose ' should is implemented in custom.
(anonymous) @ echarts.js:6064
echarts.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) in 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. Error reason

xaxis:["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
Xaxis directly receive the data value of the x axis, it should be wrapped in curly braces for the data value


3. Solutions

xaxis:{
	Type: ' Category ',
	data:["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
}


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.