You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "amirajv (via GitHub)" <gi...@apache.org> on 2023/08/05 23:34:55 UTC
[GitHub] [echarts] amirajv opened a new issue, #18963: [Bug] Binary array data does not work on xaxis but it works on yaxis
amirajv opened a new issue, #18963:
URL: https://github.com/apache/echarts/issues/18963
### 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
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] Ovilia closed issue #18963: [Bug] Binary array data does not work on xaxis but it works on yaxis
Posted by "Ovilia (via GitHub)" <gi...@apache.org>.
Ovilia closed issue #18963: [Bug] Binary array data does not work on xaxis but it works on yaxis
URL: https://github.com/apache/echarts/issues/18963
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org