Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar chart issue: Generates merged bar chart if we reduces width of zoom bar to its certain width. #9882

Closed
medhalohar opened this issue Jan 31, 2019 · 4 comments · Fixed by OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Assignees

Comments

@medhalohar
Copy link

medhalohar commented Jan 31, 2019

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
medha1

@ClemMakesApps
Copy link
Contributor

Here's a gif that explains the issue better:

2019-01-31 11 31 57

@Ovilia
Copy link
Contributor

Ovilia commented Feb 3, 2019

@medhalohar Thanks for your report. Seems to be a bug.

@Ovilia Ovilia added the bug label Feb 3, 2019
@jivanvl
Copy link

jivanvl commented Mar 26, 2019

This also affects stacked column charts

2019-03-25_12 52 42

@100pah
Copy link
Member

100pah commented Mar 27, 2019

Sorry it is a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment