echarts icon indicating copy to clipboard operation
echarts copied to clipboard

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

Open yigeyansuderen opened this issue 3 years ago • 8 comments

Version

5.2.0

Link to Minimal Reproduction

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?

yigeyansuderen avatar Jun 13 '22 13:06 yigeyansuderen

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.

echarts-bot[bot] avatar Jun 13 '22 13:06 echarts-bot[bot]

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

yigeyansuderen avatar Jun 13 '22 13:06 yigeyansuderen

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. 🤓

echarts-bot[bot] avatar Jun 14 '22 03:06 echarts-bot[bot]

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?

jiawulin001 avatar Jun 14 '22 09:06 jiawulin001

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 image the number of dimensions = 31 image version 5.1.2 the number of dimensions = 31 image

yigeyansuderen avatar Jun 14 '22 10:06 yigeyansuderen

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

yigeyansuderen avatar Oct 11 '22 06:10 yigeyansuderen

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Oct 10 '24 21:10 github-actions[bot]

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

yigeyansuderen avatar Oct 10 '24 21:10 yigeyansuderen