Duration for `type: stacked-bar` on Insight pages is not adjustable by UI

Summary

Not like type: bar and type: line, durations for type: stacked-bar on Insight pages are not adjustable by UI.
An Ultimate customer reported this: https://gitlab.my.salesforce.com/0014M00001wX5OM (Internal only)

Steps to reproduce

  1. Put the .gitlab/insights.yml in a GitLab project and then visit "Analytics > Insights"
  2. Try to drag 🐽 for "Issues closed per month - Stacked Bar"
issues:
  title: Issue Dashboard
  charts:
    - title: Issues closed per month - Bar
      type: bar
      query:
        issuable_type: issue
        issuable_state: closed
        group_by: month
    - title: Issues closed per month - Line
      type: line
      query:
        issuable_type: issue
        issuable_state: closed
        group_by: month
        collection_labels:
          - P::1
          - P::2
          - P::3
          - P::4
    - title: Issues closed per month - Stacked Bar
      type: stacked-bar
      query:
        issuable_type: issue
        issuable_state: closed
        group_by: month
        collection_labels:
          - P::1
          - P::2
          - P::3
          - P::4

Example Project

What is the current bug behavior?

🐽 can't be draggable.

What is the expected correct behavior?

🐽 should be draggable.

Relevant logs and/or screenshots

image

Output of checks

Results of GitLab environment info

GitLab.com (GitLab Enterprise Edition 15.0.0-pre a81a1e8b)

Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes