You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/02/06 09:52:20 UTC

[GitHub] R1ON opened a new issue #9895: boundaryGap dataZoom

R1ON opened a new issue #9895: boundaryGap dataZoom
URL: https://github.com/apache/incubator-echarts/issues/9895
 
 
   ## boundaryGap with datazoom
   
   I have boundaryGap [0, 1] on y axis, but when I increase the size, the gap disappears.
   How to save my boundaryGap?
   
   
   ![image](https://user-images.githubusercontent.com/17318424/52333123-72c58700-2a0d-11e9-8094-bb83983b727a.png)
   
   ![image](https://user-images.githubusercontent.com/17318424/52333270-de0f5900-2a0d-11e9-8256-57ba9fbe36e7.png)
   
   
   
   
   ```javascript
   option = {
       grid: { containLabel: false },
       animation: false,
       legend: {
           data: ['scatter']
       },
       tooltip: {
       },
       xAxis: {
           type: 'value',
       },
       yAxis: {
           boundaryGap: [0, 1],
           type: 'value',
       },
       dataZoom: [
           {  
              id: 'dataZoomY',
               type: 'slider',
               yAxisIndex: [0],
           },
       ],
       series: [
           {
               name: 'scatter',
               type: 'scatter',
               data: data1
           },
       ]
   }
   
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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