From c3e4467da047d281dc96ff0765843967c7853984 Mon Sep 17 00:00:00 2001 From: Fan Du Date: Thu, 9 Nov 2023 16:18:00 -0800 Subject: [PATCH] test: add a broken example --- ...oral_color_config_time_unit_band_position.vl.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/specs/bar_temporal_color_config_time_unit_band_position.vl.json 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}} +}