Row encoding and autosize makes chart not appear

Hi, I appreciate the example. That did help me transform the spec to my needs. For reference, this is the relevant bit of my spec now:

facet: {row: {field: "Date", type:"Ordinal", timeUnit:"monthyear"}},
  spec: {
    height: 150
    width: 500
    encoding: {
      y: {
        field: key
        type: nominal
      }
      x: {
        field: value
        type: quantitative
      },
      color:{
        "field": "key", "type":"nominal"
      }
    }
    mark: bar
  }

The kibana hideWarnings item is also required as it throws the warning for autosize/height/width but still works.

config: {kibana: {hideWarnings: true}}

I appreciate your help!

1 Like