If you edit https://vega.github.io/vega-lite/examples/layer_bar_dual_axis.html to set the y axis labelAngle to 0, the axis labels aren't positioned correctly.

{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {"url": "data/seattle-weather.csv"},
"layer": [
{
"mark": "bar",
"encoding": {
"x": {
"timeUnit": "month",
"field": "date",
"type": "ordinal"
},
"y": {
"aggregate": "mean",
"field": "precipitation",
"type": "quantitative",
"axis": {
"grid": false
}
}
}
},
{
"mark": "line",
"encoding": {
"x": {
"timeUnit": "month",
"field": "date",
"type": "ordinal"
},
"y": {
"aggregate": "mean",
"field": "temp_max",
"type": "quantitative",
"axis": {
"grid": false
},
"scale": {"zero": false}
},
"color": {"value": "firebrick"}
}
}
],
"resolve": {"scale": {"y": "independent"}},
"config": {
"axisY": {
"labelAngle": 0
}
}
}
If you edit https://vega.github.io/vega-lite/examples/layer_bar_dual_axis.html to set the y axis labelAngle to 0, the axis labels aren't positioned correctly.
{ "$schema": "https://vega.github.io/schema/vega-lite/v2.json", "data": {"url": "data/seattle-weather.csv"}, "layer": [ { "mark": "bar", "encoding": { "x": { "timeUnit": "month", "field": "date", "type": "ordinal" }, "y": { "aggregate": "mean", "field": "precipitation", "type": "quantitative", "axis": { "grid": false } } } }, { "mark": "line", "encoding": { "x": { "timeUnit": "month", "field": "date", "type": "ordinal" }, "y": { "aggregate": "mean", "field": "temp_max", "type": "quantitative", "axis": { "grid": false }, "scale": {"zero": false} }, "color": {"value": "firebrick"} } } ], "resolve": {"scale": {"y": "independent"}}, "config": { "axisY": { "labelAngle": 0 } } }