echarts [Bug] tooltip display incorrect when the number of dimensions bigger than 30

e4eetjau  于 3个月前  发布在  Echarts
关注(0)|答案(5)|浏览(68)

Version

5.2.0

https://echarts.apache.org/examples/zh/editor.html?version=5.2.0

Steps to Reproduce

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

- OS:windows 10 
- Browser:edge 102.0.1245.33
- Framework: angular 10.2.4

Any additional comments?

Is this a update version bug?

k3bvogb1

k3bvogb11#

I'm sorry to close this issue for it lacks the necessary title. Please provide a descriptive and as concise as possible title to describe your problems or requests and then the maintainers or I will reopen this issue.

Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.

A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.

Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.

w1e3prcc

w1e3prcc2#

This issue is labeled with difficulty: easy .
@yigeyansuderen Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.

Please have a look at How to debug ECharts if you'd like to give a try. 🤓

dzhpxtsq

dzhpxtsq3#

Hi, as I am trying to reproduce, I find 'dataTime' is displaying correctly. Can you attach a screenshot and some description to let us better understand your question?

vfwfrxfs

vfwfrxfs4#

Hi, as I am trying to reproduce, I find 'dataTime' is displaying correctly. Can you attach a screenshot and some description to let us better understand your question?

version 5.3.0
You can close comment of dimensions in reproduce.
the number of dimensions = 30

the number of dimensions = 31

version 5.1.2
the number of dimensions = 31

unhi4e5o

unhi4e5o5#

sdgsd56gsd6g5s6dgsdgなフアやャクヤなどがミドっぱくラバニラサダウのブはとてもおい

相关问题