We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
5.4
https://codepen.io/Amir-Amin-Javaheri/pen/LYXaMrO
If source is set to
var dataset = [ new Float32Array(Uint8Array.from(atob('AACAPwAAAEAAAEBAAACAQAAAoEAAAMBAMzMDQQ=='), c => c.charCodeAt(0)).buffer), [1, 2, 3, 4, 5, 6, 7], ];
This will not create the expected chart. Note that first dimension contains binary data.
On the other hand, if source is set to
var dataset = [ [1, 2, 3, 4, 5, 6, 7], new Float32Array(Uint8Array.from(atob('AACAPwAAAEAAAEBAAACAQAAAoEAAAMBAMzMDQQ=='), c => c.charCodeAt(0)).buffer), ];
This will work as expected.
So echarts does not like the first dimension being binary.
Good case: https://codepen.io/Amir-Amin-Javaheri/pen/ExOMGRW
Bad case: https://codepen.io/Amir-Amin-Javaheri/pen/LYXaMrO
Any dimension can be binary.
- OS: - Browser: - Framework:
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Version
5.4
Link to Minimal Reproduction
https://codepen.io/Amir-Amin-Javaheri/pen/LYXaMrO
Steps to Reproduce
If source is set to
var dataset = [
new Float32Array(Uint8Array.from(atob('AACAPwAAAEAAAEBAAACAQAAAoEAAAMBAMzMDQQ=='), c => c.charCodeAt(0)).buffer),
[1, 2, 3, 4, 5, 6, 7],
];
This will not create the expected chart. Note that first dimension contains binary data.
On the other hand, if source is set to
var dataset = [
[1, 2, 3, 4, 5, 6, 7],
new Float32Array(Uint8Array.from(atob('AACAPwAAAEAAAEBAAACAQAAAoEAAAMBAMzMDQQ=='), c => c.charCodeAt(0)).buffer),
];
This will work as expected.
So echarts does not like the first dimension being binary.
Current Behavior
Good case:
https://codepen.io/Amir-Amin-Javaheri/pen/ExOMGRW
Bad case:
https://codepen.io/Amir-Amin-Javaheri/pen/LYXaMrO
Expected Behavior
Any dimension can be binary.
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: