[Bug] tooltip display incorrect when the number of dimensions bigger than 30
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.2.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?version=5.2.0
### Steps to Reproduce
```js
option = {
dataset: {
dimensions: [
'aq', 'aw','ae','ar','at','ay','au','ai','ao','ap','aa','as',
'ad','af','ag','ah','aj','ak','al','az','ax','ac','av','ab',
'an','am','bq','dataTime','bw','be',
// 'br',
// 'bt'
],
source: [
{
ac: 6.12,
dataTime: '202101'
},
{
ac: 6.12,
dataTime: '202102'
}
]
},
series: [
{
encode: {
x: ['dataTime'],
y: ['ac']
},
label: {
show: true
},
labelLayout: {
hideOverlap: true
},
symbolSize: '8',
type: 'line',
}
],
tableType: 'chart',
tooltip: {
axisPointer: {
type: 'shadow'
},
borderColor: '#f1f1f1',
show: true,
trigger: 'item'
},
xAxis: [
{
axisLabel: {
show: true
},
axisLine: false,
axisTick: false,
show: true,
type: 'category'
}
],
yAxis: [
{
axisLine: false,
axisTick: false,
type: 'value'
}
]
};
```
### Current Behavior
When the number of dimensions bigger than 30 , tooltip can't display datatime in my option. And I find this after 5.2.0.
### Expected Behavior
When the number of dimensions bigger than 30 , tooltip display datatime after version 5.2.0 .
### Environment
```markdown
- OS:windows 10
- Browser:edge 102.0.1245.33
- Framework: angular 10.2.4
```
### Any additional comments?
Is this a update version bug?
Contributor guide
Assessment
This issue has not been assessed yet.