From a0378de695c2b7e27e950e8152cb213ea5251763 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Thu, 11 Aug 2022 18:20:01 -0400 Subject: [PATCH] docs: Explicit temporal type (#8352) 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. Co-authored-by: Dan Marshall --- 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"} } }