diff --git a/examples/specs/bar_temporal_color_config_time_unit_band_position.vl.json b/examples/specs/bar_temporal_color_config_time_unit_band_position.vl.json new file mode 100644 index 00000000000..4bec9c74e9c --- /dev/null +++ b/examples/specs/bar_temporal_color_config_time_unit_band_position.vl.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://vega.github.io/schema/vega-lite/v5.json", + "description": "Stock prices of 5 Tech Companies over Time.", + "data": {"url": "data/stocks.csv"}, + "mark": {"type": "bar"}, + "encoding": { + "x": {"field": "symbol", "type": "nominal"}, + "y": {"aggregate": "mean", "field": "price", "type": "quantitative"}, + "color": {"timeUnit": "year", "field": "date"} + }, + "config": {"bar": {"timeUnitBandPosition": 0}} +}