-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
同时设置sourceHeader:false与dimensions时,sourceHeader不起作用 #16084
Comments
Hi! We've received your issue and please be patient to get responded. 🎉 In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so. A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster. You may also check out the API and chart option to get the answer. If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical question. If you are interested in the project, you may also subscribe to our mailing list. Have a nice day! 🍵 |
@Oen-Cpz It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗 TRANSLATEDTITLE SourceHeader does not work when setting sourceHeader:false with dimesions at the same time BODY Version5.2.0 Reproduction linkhttps://jsbin.com/remisihaza/edit?html,output Steps to reproduceconst option = {
dataset: {
dimensions: ['product', '2015', '2016', '2017'],
sourceHeader: false,
source: [
['111', '43.3', '85.8', '93.7'],
['222', 83.1, 73.4, 55.1],
['333', 86.4, 65.2, 82.5],
['444', 72.4, 53.9, 39.1]
],
},
xAxis: {type:'category' },
yAxis: {},
series: [{ type:'bar' }, {type:'bar' }, {type:'bar' }]
}; What is expected?The first line of source is the data What is actually happening?When the first line of numbers are all strings, the first line will be lost, and the dimension information will not be changed |
you can use 5.3.0-rc.1 version (https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.min.js) to test if you bug fixed. This is my test: |
Great jon @lefex |
现在sourceHeader可以正常工作了,感谢 |
Version
5.2.1
Reproduction link
https://jsbin.com/remisihaza/edit?html,output
Steps to reproduce
What is expected?
source第一行开始就是数据
What is actually happening?
当第一行数字均为字符串时,第一行会丢失,且不会改变维度信息
The text was updated successfully, but these errors were encountered: