You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/09/08 03:25:25 UTC

[GitHub] [echarts] XXmushi opened a new issue #15688: Datazoom silder trend is wrong when data span is large

XXmushi opened a new issue #15688:
URL: https://github.com/apache/echarts/issues/15688


   ### Version
   5.2.0
   
   ### Reproduction link
   [https://codepen.io/xxmushi/pen/rNwjWbW](https://codepen.io/xxmushi/pen/rNwjWbW)
   
   ### Steps to reproduce
   
   ```javascript
         const POINT_COUNT = 1e3
         const data= new Float64Array((POINT_COUNT 1) * 2)
         let off = 0
         for (let j = 0; j < POINT_COUNT; j  ) {
           values[off  ] = j
           values[off  ] = Math.random() * 1000
         }
         data[off  ] = 10000
         data[off  ] = 0
         const option = {
              dataZoom: [
                    {
                   type: 'slider',
                   id: 'slider',
                   xAxisIndex: [0],
                   dataBackground: {
                      areaStyle: {
                       color: 'rgba(128, 128, 128, 0)'
                      }
                  },
                  fillerColor: 'rgba(128, 128, 128, 0)',
                  borderColor: '#565656',
                  moveHandleSize: 0,
                  selectedDataBackground: {
                      lineStyle: {
                         color: '#f4f20b',
                         width: 0.5
                      },
                      areaStyle: {
                        color: 'rgba(128, 128, 128, 0)'
                    }
                  }
              }
             ],
            ......,
            series: [
                   {
                       type: 'line',
                       smooth: false,
                       data,
                       animation: false,
                       showSymbol: false,
                       dimensions: ['x', 'y'],
                       itemStyle: {
                       color: '#f4f20b'
                   }
                 }
            ]
      }
   
   ```
   The X-axis of Data jumps from 1000 to 10000
   
   ![Image of echarts](https://raw.githubusercontent.com/XXmushi/test123a/master/echarts.jpg)
   
   ### What is expected?
   Datazoom silder don't filter the data when data span is larger
   
   ### What is actually happening?
   silder trend is wrong when data span is large
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #15688: Datazoom silder trend is wrong when data span is large

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15688:
URL: https://github.com/apache/echarts/issues/15688#issuecomment-914880525


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe to our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org