echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] dataZoom显示错误的问题。dataZoom show error

Open leekbillow opened this issue 2 years ago • 4 comments

Version

5.3.2

Link to Minimal Reproduction

No response

Steps to Reproduce

  1. 使用dataZoom,设置dataZoom.filterMode:'none'
  2. 拖动dataZoom手柄,缩小范围至1个数据

  1. Use dataZoom,setdataZoom.filterMode:'none'
  2. Drag the dataZoom handle to reduce the range to 1 data
option = {
  tooltip: {
    trigger: 'axis'
  },
  xAxis: {
    data: ['2014-07-14', '2014-07-15', '2014-07-16', '2014-07-17', '2014-07-18']
  },
  yAxis: {},
  dataZoom: [{ filterMode: 'none' }],
  series: {
    name: 'Beijing AQI',
    type: 'bar',
    data: [0, 156, 140, 133, 186]
  }
};

1

Current Behavior

当前数据展示为所有数据中的最大值 The current value show is the maximum value of all data

Expected Behavior

显示正确的数据,像dataZoom.filterMode:'empty'一样 Show the correct data,likedataZoom.filterMode:'empty'

Environment

- OS:Windows 10
- Browser:Chrome 101.0.4951.64(64bit)
- Framework:none

Any additional comments?

No response

leekbillow avatar May 12 '22 02:05 leekbillow

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 May 12 '22 02:05 echarts-bot[bot]

@leekbillow It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] dataZoom shows the wrong problem. dataZoom show error

BODY

Version

5.3.2

Link to Minimal Reproduction

No response

Steps to Reproduce

  1. Using 'dataZoom', set 'dataZoom.filterMode:'none''
  2. Drag the dataZoom handle to zoom out to 1 data
option = {
  tooltip: {
    trigger: 'axis'
  },
  xAxis: {
    data: ['2014-07-14', '2014-07-15', '2014-07-16', '2014-07-17', '2014-07-18']
  },
  yAxis: {},
  dataZoom: [{ filterMode: 'none' }],
  series: {
    name: 'Beijing AQI',
    type: 'bar',
    data: [0, 156, 140, 133, 186]
  }
};

1

Current Behavior

The current data is presented as the maximum of all data

Expected Behavior

Display the correct data, like 'dataZoom.filterMode:'empty'''

Environment

- OS:Windows 10
- Browser:Chrome 101.0.4951.64(64bit)
- Framework:none

Any additional comments?

No response

echarts-bot[bot] avatar May 12 '22 02:05 echarts-bot[bot]

This can be solved by PR https://github.com/apache/echarts/pull/16895

jiawulin001 avatar May 14 '22 07:05 jiawulin001

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 May 13 '24 21:05 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar May 21 '24 21:05 github-actions[bot]