diff --git a/examples/compiled/histogram_nonlinear.png b/examples/compiled/histogram_nonlinear.png
index d062997056..3ee2097d1e 100644
Binary files a/examples/compiled/histogram_nonlinear.png and b/examples/compiled/histogram_nonlinear.png differ
diff --git a/examples/compiled/histogram_nonlinear.svg b/examples/compiled/histogram_nonlinear.svg
index c77d6080ed..31015c2856 100644
--- a/examples/compiled/histogram_nonlinear.svg
+++ b/examples/compiled/histogram_nonlinear.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/histogram_nonlinear.vg.json b/examples/compiled/histogram_nonlinear.vg.json
index 2e175dd546..2d7346e0d3 100644
--- a/examples/compiled/histogram_nonlinear.vg.json
+++ b/examples/compiled/histogram_nonlinear.vg.json
@@ -51,8 +51,7 @@
"from": {"data": "data_0"},
"encode": {
"update": {
- "cornerRadiusTopLeft": {"value": 0},
- "cornerRadiusTopRight": {"value": 0},
+ "cornerRadius": {"value": 0},
"fill": {"value": "#4c78a8"},
"ariaRoleDescription": {"value": "bar"},
"description": {
@@ -60,8 +59,8 @@
},
"x": {"scale": "x", "field": "startTime"},
"x2": {"scale": "x", "field": "endTime"},
- "y": {"scale": "y", "field": "residency_end"},
- "y2": {"scale": "y", "field": "residency_start"}
+ "yc": {"scale": "y", "field": "residency"},
+ "height": {"value": 5}
}
}
}
@@ -79,7 +78,8 @@
"type": "linear",
"domain": [0, 100],
"range": [{"signal": "height"}, 0],
- "zero": true
+ "zero": true,
+ "padding": 5
}
],
"axes": [
diff --git a/examples/compiled/layer_cumulative_histogram.png b/examples/compiled/layer_cumulative_histogram.png
index dfa42c17a0..6f21248f94 100644
Binary files a/examples/compiled/layer_cumulative_histogram.png and b/examples/compiled/layer_cumulative_histogram.png differ
diff --git a/examples/compiled/layer_cumulative_histogram.svg b/examples/compiled/layer_cumulative_histogram.svg
index 3c813842e8..d394168674 100644
--- a/examples/compiled/layer_cumulative_histogram.svg
+++ b/examples/compiled/layer_cumulative_histogram.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/layer_cumulative_histogram.vg.json b/examples/compiled/layer_cumulative_histogram.vg.json
index 86f4c6f9c6..1ed1f6e8db 100644
--- a/examples/compiled/layer_cumulative_histogram.vg.json
+++ b/examples/compiled/layer_cumulative_histogram.vg.json
@@ -79,8 +79,8 @@
},
"x": {"scale": "x", "field": "bin_IMDB_Rating"},
"x2": {"scale": "x", "field": "bin_IMDB_Rating_end"},
- "y": {"scale": "y", "field": "Cumulative Count"},
- "y2": {"scale": "y", "value": 0}
+ "yc": {"scale": "y", "field": "Cumulative Count"},
+ "height": {"value": 5}
}
}
},
@@ -99,8 +99,8 @@
},
"x": {"scale": "x", "field": "bin_IMDB_Rating"},
"x2": {"scale": "x", "field": "bin_IMDB_Rating_end"},
- "y": {"scale": "y", "field": "count"},
- "y2": {"scale": "y", "value": 0}
+ "yc": {"scale": "y", "field": "count"},
+ "height": {"value": 5}
}
}
}
@@ -119,8 +119,7 @@
},
"range": [0, {"signal": "width"}],
"zero": false,
- "nice": true,
- "padding": 5
+ "nice": true
},
{
"name": "y",
@@ -133,7 +132,8 @@
},
"range": [{"signal": "height"}, 0],
"nice": true,
- "zero": true
+ "zero": false,
+ "padding": 5
}
],
"axes": [
diff --git a/examples/compiled/wheat_wages.png b/examples/compiled/wheat_wages.png
index 67270dcb31..9856908cb0 100644
Binary files a/examples/compiled/wheat_wages.png and b/examples/compiled/wheat_wages.png differ
diff --git a/examples/compiled/wheat_wages.svg b/examples/compiled/wheat_wages.svg
index 6297842c35..fcb5755e89 100644
--- a/examples/compiled/wheat_wages.svg
+++ b/examples/compiled/wheat_wages.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/compiled/wheat_wages.vg.json b/examples/compiled/wheat_wages.vg.json
index 64bd031025..c5504b5129 100644
--- a/examples/compiled/wheat_wages.vg.json
+++ b/examples/compiled/wheat_wages.vg.json
@@ -102,8 +102,8 @@
},
"x": {"scale": "x", "field": "year"},
"x2": {"scale": "x", "field": "year_end"},
- "y": {"scale": "y", "field": "wheat"},
- "y2": {"scale": "y", "value": 0}
+ "yc": {"scale": "y", "field": "wheat"},
+ "height": {"value": 5}
}
}
},
@@ -142,7 +142,7 @@
},
"x": {"scale": "x", "field": "year"},
"y": {"scale": "y", "field": "wages"},
- "y2": {"scale": "y", "value": 0},
+ "y2": {"field": {"group": "height"}},
"defined": {
"signal": "isValid(datum[\"year\"]) && isFinite(+datum[\"year\"]) && isValid(datum[\"wages\"]) && isFinite(+datum[\"wages\"])"
}
@@ -251,8 +251,7 @@
},
"range": [0, {"signal": "width"}],
"nice": true,
- "zero": false,
- "padding": 5
+ "zero": true
},
{
"name": "y",
@@ -268,7 +267,8 @@
},
"range": [{"signal": "height"}, 0],
"nice": true,
- "zero": true
+ "zero": false,
+ "padding": 5
},
{
"name": "fill",