问题 VEGA-lite is not perfect, but is very good, and in general for something that looks like a bug, there are a workaround... So I supposing that in this "bug" we have a workaround. ((edit after answer: it is not a real bug, is a "semantic bug" on the specification language)) The strange behaviour , a "semantic bug": I was using selection: { "grid": {"type":"interval", "bind":"scales"} } for zoom, in a trivial context, with simple mark: 'line' . When I add layer , it stopts to work . { title: