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 Jul 7, 2023
1 parent 7e6cee4 commit bf73601
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 9 deletions.
Binary file modified examples/compiled/selection_type_region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/compiled/selection_type_region.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 15 additions & 4 deletions examples/compiled/selection_type_region.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
"height": 200,
"style": "cell",
"data": [
{"name": "brush_store"},
{
"name": "brush_store",
"transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
},
{
"name": "source_0",
"url": "data/cars.json",
"format": {"type": "json"},
"transform": [
{"type": "identifier", "as": "_vgsid_"},
{
"type": "filter",
"expr": "isValid(datum[\"Horsepower\"]) && isFinite(+datum[\"Horsepower\"]) && isValid(datum[\"Miles_per_Gallon\"]) && isFinite(+datum[\"Miles_per_Gallon\"])"
Expand Down Expand Up @@ -63,7 +67,6 @@
}
]
},
{"name": "brush_tuple_fields", "value": []},
{
"name": "brush_modify",
"on": [
Expand All @@ -86,7 +89,15 @@
"strokeWidth": {"value": 2},
"strokeDash": {"value": [8, 5]}
},
"update": {"path": {"signal": "lassoPath(brush_screen_path)"}}
"update": {
"path": [
{
"test": "data(\"brush_store\").length && data(\"brush_store\")[0].unit === \"\"",
"signal": "lassoPath(brush_screen_path)"
},
{"value": "[]"}
]
}
}
},
{
Expand All @@ -101,7 +112,7 @@
"fill": {"value": "transparent"},
"stroke": [
{
"test": "!length(data(\"brush_store\")) || vlSelectionTest(\"brush_store\", datum)",
"test": "!length(data(\"brush_store\")) || vlSelectionIdTest(\"brush_store\", datum)",
"scale": "color",
"field": "Cylinders"
},
Expand Down
Binary file modified examples/compiled/selection_type_region_concat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/selection_type_region_concat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 19 additions & 4 deletions examples/compiled/selection_type_region_concat.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@
"padding": 5,
"width": 200,
"data": [
{"name": "brush_store"},
{"name": "source_0", "url": "data/cars.json", "format": {"type": "json"}},
{
"name": "brush_store",
"transform": [{"type": "collect", "sort": {"field": "_vgsid_"}}]
},
{
"name": "source_0",
"url": "data/cars.json",
"format": {"type": "json"},
"transform": [{"type": "identifier", "as": "_vgsid_"}]
},
{
"name": "data_0",
"source": "source_0",
Expand Down Expand Up @@ -91,7 +99,6 @@
}
]
},
{"name": "brush_tuple_fields", "value": []},
{
"name": "brush_modify",
"on": [
Expand All @@ -114,7 +121,15 @@
"strokeWidth": {"value": 2},
"strokeDash": {"value": [2, 8]}
},
"update": {"path": {"signal": "lassoPath(brush_screen_path)"}}
"update": {
"path": [
{
"test": "data(\"brush_store\").length && data(\"brush_store\")[0].unit === \"concat_0\"",
"signal": "lassoPath(brush_screen_path)"
},
{"value": "[]"}
]
}
}
},
{
Expand Down

0 comments on commit bf73601

Please sign in to comment.