-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
test: add a broken example
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
examples/specs/bar_temporal_color_config_time_unit_band_position.vl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}} | ||
} |