[Bug] Toolbox dataview incorrect for multiple series data
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
6.0.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=rZLPT8IwFMfv_hXvYnYR6H6xH8aDwcSYaDQe9EB2KFBYk7KSriBo-N996zq2CEEPLkvz-n19n74flSvNZQE38HUBoKUUE7lNzQagzOVHClqt2ZXZS8VZoVNwcrQ-ZaGpcGqPlqsUSG0rvsirQy65tN45o3qtWIMFmFFN3zhDeKNgGKOz50LsuhcaNNcCQ507jIENBllo9QlaLFIYd33gjIQsWWW8srliZe5k9vy-Dtzjaszt7ZaXTQp6t6pu2VCxxmAjFXRZSQ_LlVSaFtOu_iintGoc-qfYE6aMz2B3J7B4mC2k2rWnaMGXljCnojQFlwwbjKFjE9q0ZjBoMnlRbManWtaXdfAT2kpo31OchtNzyWECRn7nM52n4Ns5Ge2Jbk_JI5tvTQo7nGp0mOHY7RNsMdbVc53sqrP1nKxuuG33mTK8X-r4z4QPb6a1AEg_DIOYhMGQ4O9HUfu0AKuRAotrpaw1f0A8EsReHEdJ5PvEP4K0dZ6BEN8LiZfEcRJEHkmGRxT_L5TEDYgfYD5JiCXF4REl6FKsZeeFa3axv_4G&enc=deflate
### Steps to Reproduce
Step to reproduce
1. Open reproduction url
2. Click "Data view" button on toolbar
3. Data table is incorrect.
### Current Behavior
Show as below
| Category | series0 | series1 |
| -------- | ------: | -----------------: |
| cat-1 | 1 | 0.554805460460377 |
| cat-2 | 1 | 0.520482887973303 |
| col-1 | | 0.0325029889472096 |
| col-2 | | 0.9140342049504685 |
| col-3 | | |
| col-4 | | |
### Expected Behavior
| Category | series0 | series1 |
| -------- | ------: | -----------------: |
| cat-1 | 1 | |
| cat-2 | 1 | |
| col-1 | | 0.554805460460377 |
| col-2 | | 0.520482887973303 |
| col-3 | | 0.0325029889472096 |
| col-4 | | 0.9140342049504685 |
### Environment
```markdown
- OS: macOS Monterey
- Browser: Firefox
- Framework: web component
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.