File size: 1,255 Bytes
45721da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Bar chart issue: Generates merged bar chart if we reduces width of zoom bar to its certain width.
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.
```js
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](assets/apache__echarts-10173/001.png)
![medha1](assets/apache__echarts-10173/002.png)

## Relevant pre-fix discussion

### Issue #9882

#### Comment at 2019-01-31T17:33:44Z

Here's a gif that explains the issue better:

![2019-01-31 11 31 57](assets/apache__echarts-10173/003.gif)

#### Comment at 2019-03-26T17:59:54Z

This also affects stacked column charts

![2019-03-25_12 52 42](assets/apache__echarts-10173/004.gif)