From 4f8b2d89ba3015311e218ebd0bb8142d7547239c Mon Sep 17 00:00:00 2001 From: Dan Marshall Date: Wed, 11 May 2022 16:13:34 -0700 Subject: [PATCH] Explicit temporal type Since this spec is used as the example for the [temporal encoding type](https://vega.github.io/vega-lite/docs/type.html#temporal) it's nice to have it spelled out. --- examples/specs/bar_month_temporal.vl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/specs/bar_month_temporal.vl.json b/examples/specs/bar_month_temporal.vl.json index 622814fa34..7b0aae110f 100644 --- a/examples/specs/bar_month_temporal.vl.json +++ b/examples/specs/bar_month_temporal.vl.json @@ -3,7 +3,7 @@ "data": {"url": "data/seattle-weather.csv"}, "mark": "bar", "encoding": { - "x": {"timeUnit": "month", "field": "date"}, + "x": {"timeUnit": "month", "field": "date", "type": "temporal"}, "y": {"aggregate": "mean", "field": "precipitation"} } }