Skip to content

Commit

Permalink
Rebuild examples
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Apr 29, 2018
1 parent f93c42e commit 09ba777
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/compiled/layer_line_co2_concentration.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions examples/compiled/layer_line_co2_concentration.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
"name": "data_1",
"source": "source_0",
"transform": [
{
"type": "formula",
"expr": "datum[\"aggregated\"] && datum[\"aggregated\"][\"year\"]",
"as": "aggregated.year"
},
{
"type": "aggregate",
"groupby": [
Expand Down Expand Up @@ -93,6 +98,11 @@
"name": "data_2",
"source": "source_0",
"transform": [
{
"type": "formula",
"expr": "datum[\"aggregated\"] && datum[\"aggregated\"][\"year\"]",
"as": "aggregated.year"
},
{
"type": "aggregate",
"groupby": [
Expand Down Expand Up @@ -224,7 +234,7 @@
"field": "CO2"
},
"text": {
"signal": "''+datum[\"aggregated\"][\"year\"]"
"signal": "''+datum[\"aggregated.year\"]"
}
}
}
Expand Down Expand Up @@ -264,7 +274,7 @@
"field": "CO2"
},
"text": {
"signal": "''+datum[\"aggregated\"][\"year\"]"
"signal": "''+datum[\"aggregated.year\"]"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/compiled/test_subobject_nested.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@
"transform": [
{
"type": "formula",
"expr": "toNumber(datum[\"source\"][\"reco\"])",
"expr": "toNumber(datum[\"source\"] && datum[\"source\"][\"reco\"])",
"as": "source.reco"
},
{
"type": "formula",
"expr": "toNumber(datum[\"source\"][\"yes\"])",
"expr": "toNumber(datum[\"source\"] && datum[\"source\"][\"yes\"])",
"as": "source.yes"
},
{
Expand Down
6 changes: 3 additions & 3 deletions examples/compiled/trellis_selections.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"signal": "brush_X"
}
],
"update": "brush_X ? {unit: \"child\" + '_' + facet[\"Series\"], intervals: [{encoding: \"x\", field: \"X\", extent: brush_X}]} : null"
"update": "brush_X ? {unit: \"child\" + '_' + (facet[\"Series\"]), intervals: [{encoding: \"x\", field: \"X\", extent: brush_X}]} : null"
}
]
},
Expand Down Expand Up @@ -428,7 +428,7 @@
"events": {
"signal": "brush_tuple"
},
"update": "modify(\"brush_store\", brush_tuple, {unit: \"child\" + '_' + facet[\"Series\"]})"
"update": "modify(\"brush_store\", brush_tuple, {unit: \"child\" + '_' + (facet[\"Series\"])})"
}
]
},
Expand Down Expand Up @@ -480,7 +480,7 @@
"signal": "grid_Y"
}
],
"update": "grid_X && grid_Y ? {unit: \"child\" + '_' + facet[\"Series\"], intervals: [{encoding: \"x\", field: \"X\", extent: grid_X}, {encoding: \"y\", field: \"Y\", extent: grid_Y}]} : null"
"update": "grid_X && grid_Y ? {unit: \"child\" + '_' + (facet[\"Series\"]), intervals: [{encoding: \"x\", field: \"X\", extent: grid_X}, {encoding: \"y\", field: \"Y\", extent: grid_Y}]} : null"
}
]
},
Expand Down

0 comments on commit 09ba777

Please sign in to comment.