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/01/31 11:13:07 UTC

[GitHub] medhalohar opened a new issue #9882: Bar chart issue: Generates merged bar chart if we reduces width of zoom bar to its certain width.

medhalohar opened a new issue #9882: Bar chart issue: Generates merged bar chart if we reduces width of zoom bar to its certain width.
URL: https://github.com/apache/incubator-echarts/issues/9882
 
 
   Description:
   1. Created bar chart with following given option object:
   2. I reduced width of zoom bar to its certain width, as given in option object:  "minSpan": 0.5 
   3. Have a look at attached screenshot.
   
   option = {
       xAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           data: [120, 200, 150, 80, 70, 110, 130],
           type: 'bar'
       }],
        "dataZoom": {
       "type": "slider",
       "show": true,
       "minSpan": 0.5,
       "filterMode": "empty",
       "start": 87.65476305836627,
       "end": 94.3056847654145,
       "xAxisIndex": [
         0
       ]
     },
   };
   
   
   Result:
   ![medha2](https://user-images.githubusercontent.com/47210090/52050658-432efe80-2577-11e9-8b48-e6ae20d30ed4.png)
   ![medha1](https://user-images.githubusercontent.com/47210090/52050660-432efe80-2577-11e9-9a77-9641eb34fbce.png)
   
   

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