Skip to content

Commit

Permalink
chore: update examples [CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Jun 20, 2023
1 parent 3ba0b63 commit 8340568
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions examples/compiled/bar_simple_extent.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"encode": {
"update": {
"stroke": {"value": "firebrick"},
"x": {"signal": "scale('x', b_extent[0])"},
"x": {"scale": "x", "signal": "b_extent[0]"},
"y": {"value": 0},
"y2": {"field": {"group": "height"}}
}
Expand All @@ -96,7 +96,7 @@
"encode": {
"update": {
"stroke": {"value": "#ca8861"},
"x": {"signal": "scale('x', b_extent[1])"},
"x": {"scale": "x", "signal": "b_extent[1]"},
"y": {"value": 0},
"y2": {"field": {"group": "height"}}
}
Expand All @@ -107,7 +107,14 @@
{
"name": "x",
"type": "linear",
"domain": {"data": "data_1", "fields": ["b_start", "b_end"]},
"domain": {
"fields": [
{"data": "data_1", "field": "b_start"},
{"data": "data_1", "field": "b_end"},
[{"expr": "b_extent[0]"}],
[{"expr": "b_extent[1]"}]
]
},
"range": [0, {"signal": "width"}],
"nice": true,
"zero": true
Expand Down

0 comments on commit 8340568

Please sign in to comment.