Datasets:
Download tasks/apache__echarts-10173/problem_statement.txt from CosmosMind/SWE-PolyVision: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/datasets/CosmosMind/SWE-PolyVision/resolve/main/tasks/apache__echarts-10173/problem_statement.txt
- Command line
-
hf download hf://datasets/CosmosMind/SWE-PolyVision/tasks/apache__echarts-10173/problem_statement.txt
-
curl -L -o problem_statement.txt https://huggingface.co/datasets/CosmosMind/SWE-PolyVision/resolve/main/tasks/apache__echarts-10173/problem_statement.txt
1.26 kB
| 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: | |
|  | |
|  | |
| ## Relevant pre-fix discussion | |
| ### Issue #9882 | |
| #### Comment at 2019-01-31T17:33:44Z | |
| Here's a gif that explains the issue better: | |
|  | |
| #### Comment at 2019-03-26T17:59:54Z | |
| This also affects stacked column charts | |
|  |