Skip to content

Commit

Permalink
docs: Explicit temporal type (#8352)
Browse files Browse the repository at this point in the history
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 <danmar@microsoft.com>
  • Loading branch information
domoritz and danmarshall committed Aug 11, 2022
1 parent 5fb894a commit a0378de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/specs/bar_month_temporal.vl.json
Expand Up @@ -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"}
}
}

0 comments on commit a0378de

Please sign in to comment.