Skip to content

Commit

Permalink
Fix bug that prevent users from using guide-label style to customiz…
Browse files Browse the repository at this point in the history
…e header labels

Fix #3204
  • Loading branch information
kanitw authored and domoritz committed Nov 23, 2017
1 parent 52b79f1 commit 8abb64f
Show file tree
Hide file tree
Showing 22 changed files with 34 additions and 328 deletions.
15 changes: 1 addition & 14 deletions examples/compiled/bar_grouped.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,20 +143,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
},
"encode": {
"update": {
Expand Down
9 changes: 0 additions & 9 deletions examples/compiled/bar_grouped_horizontal.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down
30 changes: 2 additions & 28 deletions examples/compiled/facet_column_facet_column_point_future.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
}
},
{
Expand Down Expand Up @@ -218,20 +205,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
},
"encode": {
"update": {
Expand Down
24 changes: 1 addition & 23 deletions examples/compiled/facet_column_facet_row_point_future.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
}
},
{
Expand Down Expand Up @@ -208,15 +195,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down
24 changes: 1 addition & 23 deletions examples/compiled/facet_cross_independent_scale.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down Expand Up @@ -229,20 +220,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
},
"encode": {
"update": {
Expand Down
15 changes: 1 addition & 14 deletions examples/compiled/facet_independent_scale.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,20 +167,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
},
"encode": {
"update": {
Expand Down
15 changes: 1 addition & 14 deletions examples/compiled/facet_independent_scale_layer.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,20 +181,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
},
"encode": {
"update": {
Expand Down
18 changes: 0 additions & 18 deletions examples/compiled/facet_row_facet_row_point_future.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down Expand Up @@ -190,15 +181,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down
15 changes: 1 addition & 14 deletions examples/compiled/trellis_anscombe.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,20 +120,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
},
"encode": {
"update": {
Expand Down
9 changes: 0 additions & 9 deletions examples/compiled/trellis_area.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down
9 changes: 0 additions & 9 deletions examples/compiled/trellis_bar.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down
9 changes: 0 additions & 9 deletions examples/compiled/trellis_bar_histogram.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down
9 changes: 0 additions & 9 deletions examples/compiled/trellis_barley.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,6 @@
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
},
"align": {
"value": "right"
},
Expand Down
15 changes: 1 addition & 14 deletions examples/compiled/trellis_column_year.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
},
"encode": {
"update": {
Expand Down
15 changes: 1 addition & 14 deletions examples/compiled/trellis_line_quarter.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,7 @@
},
"offset": 10,
"orient": "top",
"style": "guide-label",
"encode": {
"update": {
"fontWeight": {
"value": "normal"
},
"angle": {
"value": 0
},
"fontSize": {
"value": 10
}
}
}
"style": "guide-label"
},
"encode": {
"update": {
Expand Down
Loading

0 comments on commit 8abb64f

Please sign in to comment.