{
  "title": "BarStacked",
  "type": "horizontal_bar",
  "aggs": [
    {
      "id": "1",
      "enabled": true,
      "type": "count",
      "params": {},
      "schema": "metric"
    },
    {
      "id": "2",
      "enabled": true,
      "type": "terms",
      "params": {
        "field": "actor.keyword",
        "orderBy": "_key",
        "order": "desc",
        "size": 5,
        "otherBucket": false,
        "otherBucketLabel": "Other",
        "missingBucket": false,
        "missingBucketLabel": "Missing"
      },
      "schema": "split"
    }
  ],
  "params": {
    "type": "histogram",
    "grid": { "categoryLines": false },
    "categoryAxes": [
      {
        "id": "CategoryAxis-1",
        "type": "category",
        "position": "left",
        "show": true,
        "style": {},
        "scale": { "type": "linear" },
        "labels": {
          "show": true,
          "rotate": 0,
          "filter": false,
          "truncate": 200
        },
        "title": {}
      }
    ],
    "valueAxes": [
      {
        "id": "ValueAxis-1",
        "name": "LeftAxis-1",
        "type": "value",
        "position": "bottom",
        "show": true,
        "style": {},
        "scale": { "type": "linear", "mode": "normal" },
        "labels": {
          "show": true,
          "rotate": 75,
          "filter": true,
          "truncate": 100
        },
        "title": { "text": "Count" }
      }
    ],
    "seriesParams": [
      {
        "show": true,
        "type": "histogram",
        "mode": "stacked",
        "data": { "label": "Count", "id": "1" },
        "valueAxis": "ValueAxis-1",
        "drawLinesBetweenPoints": true,
        "lineWidth": 2,
        "showCircles": true
      }
    ],
    "addTooltip": true,
    "addLegend": true,
    "legendPosition": "right",
    "times": [],
    "addTimeMarker": false,
    "labels": {},
    "thresholdLine": {
      "show": false,
      "value": 10,
      "width": 1,
      "style": "full",
      "color": "#E7664C"
    },
    "row": true
  }
}
