diff --git a/examples/compiled/airport_connections.vg.json b/examples/compiled/airport_connections.vg.json index 92a8c594216..0519b242b48 100644 --- a/examples/compiled/airport_connections.vg.json +++ b/examples/compiled/airport_connections.vg.json @@ -263,5 +263,6 @@ "range": [0, 1000], "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_color_mappings.vg.json b/examples/compiled/arc_color_mappings.vg.json index 66c6500b6f8..b3c15ea15d5 100644 --- a/examples/compiled/arc_color_mappings.vg.json +++ b/examples/compiled/arc_color_mappings.vg.json @@ -74,5 +74,6 @@ "range": ["purple", "green", "blue", "yellow", "magenta", "brown"] } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_donut.vg.json b/examples/compiled/arc_donut.vg.json index 60ec25b55fa..fde4e4328e3 100644 --- a/examples/compiled/arc_donut.vg.json +++ b/examples/compiled/arc_donut.vg.json @@ -74,5 +74,6 @@ "range": "category" } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_facet.vg.json b/examples/compiled/arc_facet.vg.json index d88dc740bcb..6db0f1552d2 100644 --- a/examples/compiled/arc_facet.vg.json +++ b/examples/compiled/arc_facet.vg.json @@ -127,5 +127,6 @@ "range": "category" } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "site"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "site"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_ordinal_theta.vg.json b/examples/compiled/arc_ordinal_theta.vg.json index 8ebaa8c4b31..287dde15f1b 100644 --- a/examples/compiled/arc_ordinal_theta.vg.json +++ b/examples/compiled/arc_ordinal_theta.vg.json @@ -88,5 +88,6 @@ "range": "category" } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "dir"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "dir"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_params.vg.json b/examples/compiled/arc_params.vg.json index 0af536c4cd1..ad6bf48e965 100644 --- a/examples/compiled/arc_params.vg.json +++ b/examples/compiled/arc_params.vg.json @@ -165,5 +165,6 @@ "zero": true } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_pie.vg.json b/examples/compiled/arc_pie.vg.json index eb9e150a1b2..0822050d9e9 100644 --- a/examples/compiled/arc_pie.vg.json +++ b/examples/compiled/arc_pie.vg.json @@ -74,5 +74,6 @@ "range": "category" } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_pie_normalize_tooltip.vg.json b/examples/compiled/arc_pie_normalize_tooltip.vg.json index 848ad49ca41..1cddf0de2ff 100644 --- a/examples/compiled/arc_pie_normalize_tooltip.vg.json +++ b/examples/compiled/arc_pie_normalize_tooltip.vg.json @@ -77,5 +77,6 @@ "range": "category" } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "category"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_pie_pyramid.vg.json b/examples/compiled/arc_pie_pyramid.vg.json index e49b5d398dd..e5bb745efb8 100644 --- a/examples/compiled/arc_pie_pyramid.vg.json +++ b/examples/compiled/arc_pie_pyramid.vg.json @@ -80,5 +80,6 @@ "fill": "color", "symbolType": "circle" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_radial.vg.json b/examples/compiled/arc_radial.vg.json index 8a23181fe67..36e759495ae 100644 --- a/examples/compiled/arc_radial.vg.json +++ b/examples/compiled/arc_radial.vg.json @@ -133,5 +133,6 @@ }, "range": "category" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/arc_radial_histogram.vg.json b/examples/compiled/arc_radial_histogram.vg.json index 3211200218d..ee8d6b120ce 100644 --- a/examples/compiled/arc_radial_histogram.vg.json +++ b/examples/compiled/arc_radial_histogram.vg.json @@ -150,5 +150,6 @@ "bins": {"signal": "layer_1_bin_maxbins_10_IMDB_Rating_bins"}, "zero": false } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area.vg.json b/examples/compiled/area.vg.json index 2553f01d113..975e9500050 100644 --- a/examples/compiled/area.vg.json +++ b/examples/compiled/area.vg.json @@ -122,5 +122,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_cumulative_freq.vg.json b/examples/compiled/area_cumulative_freq.vg.json index 3b03a864e61..ba4c66716e5 100644 --- a/examples/compiled/area_cumulative_freq.vg.json +++ b/examples/compiled/area_cumulative_freq.vg.json @@ -139,5 +139,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_density.vg.json b/examples/compiled/area_density.vg.json index 8fc8c8ca43c..4581432c7a7 100644 --- a/examples/compiled/area_density.vg.json +++ b/examples/compiled/area_density.vg.json @@ -129,5 +129,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_density_facet.vg.json b/examples/compiled/area_density_facet.vg.json index dbc03d7ce6c..510cda24376 100644 --- a/examples/compiled/area_density_facet.vg.json +++ b/examples/compiled/area_density_facet.vg.json @@ -200,5 +200,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_density_stacked.vg.json b/examples/compiled/area_density_stacked.vg.json index b24ab6566d2..06bff0975dd 100644 --- a/examples/compiled/area_density_stacked.vg.json +++ b/examples/compiled/area_density_stacked.vg.json @@ -158,5 +158,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "Species"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "Species"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_density_stacked_fold.vg.json b/examples/compiled/area_density_stacked_fold.vg.json index 40f47d7bf43..357e7565cca 100644 --- a/examples/compiled/area_density_stacked_fold.vg.json +++ b/examples/compiled/area_density_stacked_fold.vg.json @@ -165,5 +165,8 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "Measurement"}] + "legends": [ + {"fill": "color", "symbolType": "circle", "title": "Measurement"} + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_gradient.vg.json b/examples/compiled/area_gradient.vg.json index ad480764d88..1ee5530c248 100644 --- a/examples/compiled/area_gradient.vg.json +++ b/examples/compiled/area_gradient.vg.json @@ -153,5 +153,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_horizon.vg.json b/examples/compiled/area_horizon.vg.json index f879dd7e2ef..6a51cf3b35a 100644 --- a/examples/compiled/area_horizon.vg.json +++ b/examples/compiled/area_horizon.vg.json @@ -206,5 +206,10 @@ "zindex": 0 } ], - "config": {"style": {"area": {"interpolate": "monotone"}}} + "config": { + "style": { + "area": {"interpolate": "monotone"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/area_overlay.vg.json b/examples/compiled/area_overlay.vg.json index aec203dc4bc..c3c2437fe43 100644 --- a/examples/compiled/area_overlay.vg.json +++ b/examples/compiled/area_overlay.vg.json @@ -193,5 +193,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_overlay_with_y2.vg.json b/examples/compiled/area_overlay_with_y2.vg.json index 1f3b7fd7fa3..f5703e05656 100644 --- a/examples/compiled/area_overlay_with_y2.vg.json +++ b/examples/compiled/area_overlay_with_y2.vg.json @@ -162,5 +162,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_params.vg.json b/examples/compiled/area_params.vg.json index 5ce094d0a34..a1da0ddaabf 100644 --- a/examples/compiled/area_params.vg.json +++ b/examples/compiled/area_params.vg.json @@ -158,5 +158,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_temperature_range.vg.json b/examples/compiled/area_temperature_range.vg.json index c2d7292e484..4c0b7518f34 100644 --- a/examples/compiled/area_temperature_range.vg.json +++ b/examples/compiled/area_temperature_range.vg.json @@ -130,5 +130,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/area_vertical.vg.json b/examples/compiled/area_vertical.vg.json index 6f5b19c335b..5e35b97e130 100644 --- a/examples/compiled/area_vertical.vg.json +++ b/examples/compiled/area_vertical.vg.json @@ -126,5 +126,6 @@ }, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/argmin_spaces.vg.json b/examples/compiled/argmin_spaces.vg.json index 0ffee6265dd..ee0d1dbec2f 100644 --- a/examples/compiled/argmin_spaces.vg.json +++ b/examples/compiled/argmin_spaces.vg.json @@ -142,5 +142,6 @@ "title": "Fighter Name", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar.vg.json b/examples/compiled/bar.vg.json index a7403201ada..8b0fc12d1c3 100644 --- a/examples/compiled/bar.vg.json +++ b/examples/compiled/bar.vg.json @@ -118,5 +118,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_1d.vg.json b/examples/compiled/bar_1d.vg.json index 1b454b8fda7..67be494df70 100644 --- a/examples/compiled/bar_1d.vg.json +++ b/examples/compiled/bar_1d.vg.json @@ -81,5 +81,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_1d_binned.vg.json b/examples/compiled/bar_1d_binned.vg.json index 44c24cc0801..2eeb06d8e8a 100644 --- a/examples/compiled/bar_1d_binned.vg.json +++ b/examples/compiled/bar_1d_binned.vg.json @@ -95,5 +95,10 @@ "zindex": 0 } ], - "config": {"style": {"cell": {"stroke": null}}} + "config": { + "style": { + "cell": {"stroke": null}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/bar_1d_default_size.vg.json b/examples/compiled/bar_1d_default_size.vg.json index 75b76387458..8e839c2de18 100644 --- a/examples/compiled/bar_1d_default_size.vg.json +++ b/examples/compiled/bar_1d_default_size.vg.json @@ -81,5 +81,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_1d_dimension_only.vg.json b/examples/compiled/bar_1d_dimension_only.vg.json index c438e6594a6..a28b93de5ee 100644 --- a/examples/compiled/bar_1d_dimension_only.vg.json +++ b/examples/compiled/bar_1d_dimension_only.vg.json @@ -82,5 +82,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_1d_step_config.vg.json b/examples/compiled/bar_1d_step_config.vg.json index 744c2debde3..8b425919e9c 100644 --- a/examples/compiled/bar_1d_step_config.vg.json +++ b/examples/compiled/bar_1d_step_config.vg.json @@ -81,5 +81,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_1d_temporal.vg.json b/examples/compiled/bar_1d_temporal.vg.json index 627b2982916..338d43965fa 100644 --- a/examples/compiled/bar_1d_temporal.vg.json +++ b/examples/compiled/bar_1d_temporal.vg.json @@ -72,5 +72,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_aggregate.vg.json b/examples/compiled/bar_aggregate.vg.json index 034f12aaf45..5c369a0ced4 100644 --- a/examples/compiled/bar_aggregate.vg.json +++ b/examples/compiled/bar_aggregate.vg.json @@ -98,5 +98,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "age", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_aggregate_count.vg.json b/examples/compiled/bar_aggregate_count.vg.json index dfe20628c72..ee611b49688 100644 --- a/examples/compiled/bar_aggregate_count.vg.json +++ b/examples/compiled/bar_aggregate_count.vg.json @@ -131,5 +131,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_aggregate_format.vg.json b/examples/compiled/bar_aggregate_format.vg.json index ef2b5a09f18..1c305c27925 100644 --- a/examples/compiled/bar_aggregate_format.vg.json +++ b/examples/compiled/bar_aggregate_format.vg.json @@ -99,5 +99,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "age", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_aggregate_size.vg.json b/examples/compiled/bar_aggregate_size.vg.json index 355edfa2551..b9221935d8e 100644 --- a/examples/compiled/bar_aggregate_size.vg.json +++ b/examples/compiled/bar_aggregate_size.vg.json @@ -106,5 +106,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_aggregate_sort_by_encoding.vg.json b/examples/compiled/bar_aggregate_sort_by_encoding.vg.json index de6fe777a04..4be3ce66622 100644 --- a/examples/compiled/bar_aggregate_sort_by_encoding.vg.json +++ b/examples/compiled/bar_aggregate_sort_by_encoding.vg.json @@ -106,5 +106,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "age", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_aggregate_sort_mean.vg.json b/examples/compiled/bar_aggregate_sort_mean.vg.json index 4973b4a9c25..525f0c6c507 100644 --- a/examples/compiled/bar_aggregate_sort_mean.vg.json +++ b/examples/compiled/bar_aggregate_sort_mean.vg.json @@ -106,5 +106,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "age", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_aggregate_transform.vg.json b/examples/compiled/bar_aggregate_transform.vg.json index 2d3a70d9418..0f8e06841d0 100644 --- a/examples/compiled/bar_aggregate_transform.vg.json +++ b/examples/compiled/bar_aggregate_transform.vg.json @@ -115,5 +115,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_aggregate_vertical.vg.json b/examples/compiled/bar_aggregate_vertical.vg.json index 4691e64ce7d..383cd981977 100644 --- a/examples/compiled/bar_aggregate_vertical.vg.json +++ b/examples/compiled/bar_aggregate_vertical.vg.json @@ -104,5 +104,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_argmax.vg.json b/examples/compiled/bar_argmax.vg.json index 13f7d7dd35e..3227aabfaeb 100644 --- a/examples/compiled/bar_argmax.vg.json +++ b/examples/compiled/bar_argmax.vg.json @@ -109,5 +109,6 @@ "title": "Major Genre", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_argmax_transform.vg.json b/examples/compiled/bar_argmax_transform.vg.json index 850047557f3..a6644a7149a 100644 --- a/examples/compiled/bar_argmax_transform.vg.json +++ b/examples/compiled/bar_argmax_transform.vg.json @@ -131,5 +131,6 @@ "title": "Major Genre", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_array_aggregate.vg.json b/examples/compiled/bar_array_aggregate.vg.json index 6ff6f5ea89a..a5ef26d9e11 100644 --- a/examples/compiled/bar_array_aggregate.vg.json +++ b/examples/compiled/bar_array_aggregate.vg.json @@ -117,5 +117,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_axis_orient.vg.json b/examples/compiled/bar_axis_orient.vg.json index 53f11264610..a051bf39a36 100644 --- a/examples/compiled/bar_axis_orient.vg.json +++ b/examples/compiled/bar_axis_orient.vg.json @@ -138,5 +138,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_axis_space_saving.vg.json b/examples/compiled/bar_axis_space_saving.vg.json index c204ae6671b..bb5a6b40d4a 100644 --- a/examples/compiled/bar_axis_space_saving.vg.json +++ b/examples/compiled/bar_axis_space_saving.vg.json @@ -108,5 +108,6 @@ "titleAngle": 0, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_axis_title_quoted.vg.json b/examples/compiled/bar_axis_title_quoted.vg.json index bda80bd0318..c07738e72fa 100644 --- a/examples/compiled/bar_axis_title_quoted.vg.json +++ b/examples/compiled/bar_axis_title_quoted.vg.json @@ -119,5 +119,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_binned_data.vg.json b/examples/compiled/bar_binned_data.vg.json index 9b6292ffa5e..c4a5976c947 100644 --- a/examples/compiled/bar_binned_data.vg.json +++ b/examples/compiled/bar_binned_data.vg.json @@ -123,5 +123,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_binned_yearmonth_grouped.vg.json b/examples/compiled/bar_binned_yearmonth_grouped.vg.json index 4d0ef4b7d47..0f938a2486b 100644 --- a/examples/compiled/bar_binned_yearmonth_grouped.vg.json +++ b/examples/compiled/bar_binned_yearmonth_grouped.vg.json @@ -154,5 +154,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "symbol"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_binned_yearmonth_grouped_center_band.vg.json b/examples/compiled/bar_binned_yearmonth_grouped_center_band.vg.json index addd923f0b1..4bbf6272a5a 100644 --- a/examples/compiled/bar_binned_yearmonth_grouped_center_band.vg.json +++ b/examples/compiled/bar_binned_yearmonth_grouped_center_band.vg.json @@ -167,5 +167,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "symbol"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_binned_yearmonth_label.vg.json b/examples/compiled/bar_binned_yearmonth_label.vg.json index 5b9b9bcb5e7..d23eaa94887 100644 --- a/examples/compiled/bar_binned_yearmonth_label.vg.json +++ b/examples/compiled/bar_binned_yearmonth_label.vg.json @@ -193,5 +193,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_binned_yearmonth_label_band_center.vg.json b/examples/compiled/bar_binned_yearmonth_label_band_center.vg.json index 91204d23343..a4f045d423c 100644 --- a/examples/compiled/bar_binned_yearmonth_label_band_center.vg.json +++ b/examples/compiled/bar_binned_yearmonth_label_band_center.vg.json @@ -201,5 +201,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_binnedyearmonth.vg.json b/examples/compiled/bar_binnedyearmonth.vg.json index d4f5d85d577..2f91f413b9e 100644 --- a/examples/compiled/bar_binnedyearmonth.vg.json +++ b/examples/compiled/bar_binnedyearmonth.vg.json @@ -139,5 +139,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_bullet_expr_bind.vg.json b/examples/compiled/bar_bullet_expr_bind.vg.json index c23e4af0f54..c8bfcdb100c 100644 --- a/examples/compiled/bar_bullet_expr_bind.vg.json +++ b/examples/compiled/bar_bullet_expr_bind.vg.json @@ -272,10 +272,10 @@ "description": { "signal": "\"markers[0]: \" + (format(datum[\"markers.0\"], \"\"))" }, + "width": {"value": 2}, "xc": {"scale": "x", "field": "markers\\.0"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"signal": "height"}, - "width": {"value": 2} + "height": {"signal": "height"} } } } @@ -327,5 +327,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_color_disabled_scale.vg.json b/examples/compiled/bar_color_disabled_scale.vg.json index 1f95862e5d8..461c5c875eb 100644 --- a/examples/compiled/bar_color_disabled_scale.vg.json +++ b/examples/compiled/bar_color_disabled_scale.vg.json @@ -113,5 +113,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_column_fold.vg.json b/examples/compiled/bar_column_fold.vg.json index 77675fa56dc..01fc04fd2b5 100644 --- a/examples/compiled/bar_column_fold.vg.json +++ b/examples/compiled/bar_column_fold.vg.json @@ -187,5 +187,6 @@ "range": "category" } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "country"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "country"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_column_pivot.vg.json b/examples/compiled/bar_column_pivot.vg.json index e66f5a1ea3e..65f64714933 100644 --- a/examples/compiled/bar_column_pivot.vg.json +++ b/examples/compiled/bar_column_pivot.vg.json @@ -124,5 +124,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_config_no_zero.vg.json b/examples/compiled/bar_config_no_zero.vg.json index a7403201ada..8b0fc12d1c3 100644 --- a/examples/compiled/bar_config_no_zero.vg.json +++ b/examples/compiled/bar_config_no_zero.vg.json @@ -118,5 +118,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_corner_radius_end.vg.json b/examples/compiled/bar_corner_radius_end.vg.json index 6c1a57b6147..d7aebf7e91c 100644 --- a/examples/compiled/bar_corner_radius_end.vg.json +++ b/examples/compiled/bar_corner_radius_end.vg.json @@ -160,5 +160,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_count_minimap.vg.json b/examples/compiled/bar_count_minimap.vg.json index da5f50f1c41..ebaf2a2d328 100644 --- a/examples/compiled/bar_count_minimap.vg.json +++ b/examples/compiled/bar_count_minimap.vg.json @@ -451,5 +451,6 @@ "paddingInner": 0.1, "paddingOuter": 0.05 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_custom_sort_full.vg.json b/examples/compiled/bar_custom_sort_full.vg.json index 7a444d9ab3a..7b911f867fa 100644 --- a/examples/compiled/bar_custom_sort_full.vg.json +++ b/examples/compiled/bar_custom_sort_full.vg.json @@ -123,5 +123,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_custom_sort_partial.vg.json b/examples/compiled/bar_custom_sort_partial.vg.json index 6828a9c6a4a..fc76c50e6f4 100644 --- a/examples/compiled/bar_custom_sort_partial.vg.json +++ b/examples/compiled/bar_custom_sort_partial.vg.json @@ -130,5 +130,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_custom_time_domain.vg.json b/examples/compiled/bar_custom_time_domain.vg.json index 6bf7b6bbbce..3b3e7edde82 100644 --- a/examples/compiled/bar_custom_time_domain.vg.json +++ b/examples/compiled/bar_custom_time_domain.vg.json @@ -150,5 +150,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_default_tooltip_title_null.vg.json b/examples/compiled/bar_default_tooltip_title_null.vg.json index 22a9c5dfb09..272c4bddb9d 100644 --- a/examples/compiled/bar_default_tooltip_title_null.vg.json +++ b/examples/compiled/bar_default_tooltip_title_null.vg.json @@ -120,5 +120,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_distinct.vg.json b/examples/compiled/bar_distinct.vg.json index 17721c53551..6d1c51336bb 100644 --- a/examples/compiled/bar_distinct.vg.json +++ b/examples/compiled/bar_distinct.vg.json @@ -104,5 +104,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_diverging_stack_population_pyramid.vg.json b/examples/compiled/bar_diverging_stack_population_pyramid.vg.json index e0afae68d87..b5382264301 100644 --- a/examples/compiled/bar_diverging_stack_population_pyramid.vg.json +++ b/examples/compiled/bar_diverging_stack_population_pyramid.vg.json @@ -124,5 +124,11 @@ "symbolType": "square" } ], - "config": {"axis": {"grid": false}, "style": {"cell": {"stroke": null}}} + "config": { + "axis": {"grid": false}, + "style": { + "cell": {"stroke": null}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/bar_diverging_stack_transform.vg.json b/examples/compiled/bar_diverging_stack_transform.vg.json index 499eb20a72a..c296e2ebd13 100644 --- a/examples/compiled/bar_diverging_stack_transform.vg.json +++ b/examples/compiled/bar_diverging_stack_transform.vg.json @@ -384,5 +384,6 @@ "zindex": 0 } ], - "legends": [{"title": "Response", "fill": "color", "symbolType": "square"}] + "legends": [{"title": "Response", "fill": "color", "symbolType": "square"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_filter_calc.vg.json b/examples/compiled/bar_filter_calc.vg.json index ddaf50dcb1a..d224fbd76d8 100644 --- a/examples/compiled/bar_filter_calc.vg.json +++ b/examples/compiled/bar_filter_calc.vg.json @@ -121,5 +121,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_fit.vg.json b/examples/compiled/bar_fit.vg.json index bd1f49f6791..0854d2695ff 100644 --- a/examples/compiled/bar_fit.vg.json +++ b/examples/compiled/bar_fit.vg.json @@ -114,5 +114,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_gantt.vg.json b/examples/compiled/bar_gantt.vg.json index 4fd65adfac1..2e1a0416630 100644 --- a/examples/compiled/bar_gantt.vg.json +++ b/examples/compiled/bar_gantt.vg.json @@ -103,5 +103,6 @@ "title": "task", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_gantt_config_no_zero.vg.json b/examples/compiled/bar_gantt_config_no_zero.vg.json index 47a431f9b68..e6b63fd3d8f 100644 --- a/examples/compiled/bar_gantt_config_no_zero.vg.json +++ b/examples/compiled/bar_gantt_config_no_zero.vg.json @@ -103,5 +103,6 @@ "title": "task", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_group_timeunit.vg.json b/examples/compiled/bar_group_timeunit.vg.json index 41207af3b08..1703c544048 100644 --- a/examples/compiled/bar_group_timeunit.vg.json +++ b/examples/compiled/bar_group_timeunit.vg.json @@ -149,5 +149,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped.vg.json b/examples/compiled/bar_grouped.vg.json index 23798b9f9d9..48ccf869514 100644 --- a/examples/compiled/bar_grouped.vg.json +++ b/examples/compiled/bar_grouped.vg.json @@ -138,5 +138,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_custom_padding.vg.json b/examples/compiled/bar_grouped_custom_padding.vg.json index b6916729ed3..cf57c30b7c1 100644 --- a/examples/compiled/bar_grouped_custom_padding.vg.json +++ b/examples/compiled/bar_grouped_custom_padding.vg.json @@ -135,5 +135,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_errorbar.vg.json b/examples/compiled/bar_grouped_errorbar.vg.json index 1e6a3ac463a..ece75212037 100644 --- a/examples/compiled/bar_grouped_errorbar.vg.json +++ b/examples/compiled/bar_grouped_errorbar.vg.json @@ -198,5 +198,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_facet.vg.json b/examples/compiled/bar_grouped_facet.vg.json index caa2f96c81a..1537ba6bd52 100644 --- a/examples/compiled/bar_grouped_facet.vg.json +++ b/examples/compiled/bar_grouped_facet.vg.json @@ -181,5 +181,10 @@ } ], "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], - "config": {"style": {"cell": {"stroke": "transparent"}}} + "config": { + "style": { + "cell": {"stroke": "transparent"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/bar_grouped_facet_independent_scale.vg.json b/examples/compiled/bar_grouped_facet_independent_scale.vg.json index 61f5f87a69d..900d90fc71c 100644 --- a/examples/compiled/bar_grouped_facet_independent_scale.vg.json +++ b/examples/compiled/bar_grouped_facet_independent_scale.vg.json @@ -201,5 +201,10 @@ } ], "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], - "config": {"style": {"cell": {"stroke": "transparent"}}} + "config": { + "style": { + "cell": {"stroke": "transparent"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/bar_grouped_facet_independent_scale_fixed_width.vg.json b/examples/compiled/bar_grouped_facet_independent_scale_fixed_width.vg.json index 349601a689a..70a7b6369fd 100644 --- a/examples/compiled/bar_grouped_facet_independent_scale_fixed_width.vg.json +++ b/examples/compiled/bar_grouped_facet_independent_scale_fixed_width.vg.json @@ -176,5 +176,10 @@ } ], "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], - "config": {"style": {"cell": {"stroke": "transparent"}}} + "config": { + "style": { + "cell": {"stroke": "transparent"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/bar_grouped_fixed_width.vg.json b/examples/compiled/bar_grouped_fixed_width.vg.json index f0f2fb32396..a53eef139fa 100644 --- a/examples/compiled/bar_grouped_fixed_width.vg.json +++ b/examples/compiled/bar_grouped_fixed_width.vg.json @@ -115,5 +115,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_horizontal.vg.json b/examples/compiled/bar_grouped_horizontal.vg.json index 6de464a01be..4c7a9dfefaa 100644 --- a/examples/compiled/bar_grouped_horizontal.vg.json +++ b/examples/compiled/bar_grouped_horizontal.vg.json @@ -122,5 +122,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_label.vg.json b/examples/compiled/bar_grouped_label.vg.json index 99fad91d1bf..72cb9d59544 100644 --- a/examples/compiled/bar_grouped_label.vg.json +++ b/examples/compiled/bar_grouped_label.vg.json @@ -195,5 +195,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_repeated.vg.json b/examples/compiled/bar_grouped_repeated.vg.json index 8174ba5b62d..e5d33801e89 100644 --- a/examples/compiled/bar_grouped_repeated.vg.json +++ b/examples/compiled/bar_grouped_repeated.vg.json @@ -158,5 +158,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "Gross"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "Gross"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_stacked.vg.json b/examples/compiled/bar_grouped_stacked.vg.json index 727c32e6be8..79cb4eb836a 100644 --- a/examples/compiled/bar_grouped_stacked.vg.json +++ b/examples/compiled/bar_grouped_stacked.vg.json @@ -151,5 +151,6 @@ "symbolType": "square", "title": "Year (year)" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_step_for_offset.vg.json b/examples/compiled/bar_grouped_step_for_offset.vg.json index 6b0296359ef..8c43eaf4c05 100644 --- a/examples/compiled/bar_grouped_step_for_offset.vg.json +++ b/examples/compiled/bar_grouped_step_for_offset.vg.json @@ -124,5 +124,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_step_for_position.vg.json b/examples/compiled/bar_grouped_step_for_position.vg.json index 81bd6e3c9c0..cee9f37816b 100644 --- a/examples/compiled/bar_grouped_step_for_position.vg.json +++ b/examples/compiled/bar_grouped_step_for_position.vg.json @@ -135,5 +135,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_thin.vg.json b/examples/compiled/bar_grouped_thin.vg.json index 69c532b3bc8..14d828deaaa 100644 --- a/examples/compiled/bar_grouped_thin.vg.json +++ b/examples/compiled/bar_grouped_thin.vg.json @@ -116,5 +116,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_thin_minBandSize.vg.json b/examples/compiled/bar_grouped_thin_minBandSize.vg.json index ce94c876301..a0229ca3d63 100644 --- a/examples/compiled/bar_grouped_thin_minBandSize.vg.json +++ b/examples/compiled/bar_grouped_thin_minBandSize.vg.json @@ -116,5 +116,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_grouped_timeunit_yearweek.vg.json b/examples/compiled/bar_grouped_timeunit_yearweek.vg.json index af91bf87f1a..8a3d9ad6264 100644 --- a/examples/compiled/bar_grouped_timeunit_yearweek.vg.json +++ b/examples/compiled/bar_grouped_timeunit_yearweek.vg.json @@ -156,5 +156,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_heatlane.vg.json b/examples/compiled/bar_heatlane.vg.json index 910871071b7..a3fb58c60ea 100644 --- a/examples/compiled/bar_heatlane.vg.json +++ b/examples/compiled/bar_heatlane.vg.json @@ -146,5 +146,6 @@ "zindex": 0 } ], - "legends": [{"title": "count", "fill": "color", "symbolType": "square"}] + "legends": [{"title": "count", "fill": "color", "symbolType": "square"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_layered_transparent.vg.json b/examples/compiled/bar_layered_transparent.vg.json index fbd9aa0f001..ce887366d62 100644 --- a/examples/compiled/bar_layered_transparent.vg.json +++ b/examples/compiled/bar_layered_transparent.vg.json @@ -126,5 +126,6 @@ "title": "gender", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_layered_weather.vg.json b/examples/compiled/bar_layered_weather.vg.json index 40616e7948d..a70b546b670 100644 --- a/examples/compiled/bar_layered_weather.vg.json +++ b/examples/compiled/bar_layered_weather.vg.json @@ -332,5 +332,10 @@ "zindex": 0 } ], - "config": {"style": {"hilo": {"size": 20}}} + "config": { + "style": { + "hilo": {"size": 20}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/bar_month.vg.json b/examples/compiled/bar_month.vg.json index d59b3b4477e..ac825a4b84a 100644 --- a/examples/compiled/bar_month.vg.json +++ b/examples/compiled/bar_month.vg.json @@ -115,5 +115,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_month_band.vg.json b/examples/compiled/bar_month_band.vg.json index 9165a52a807..12f8149d810 100644 --- a/examples/compiled/bar_month_band.vg.json +++ b/examples/compiled/bar_month_band.vg.json @@ -136,5 +136,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_month_band_config.vg.json b/examples/compiled/bar_month_band_config.vg.json index 9165a52a807..12f8149d810 100644 --- a/examples/compiled/bar_month_band_config.vg.json +++ b/examples/compiled/bar_month_band_config.vg.json @@ -136,5 +136,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_month_temporal.vg.json b/examples/compiled/bar_month_temporal.vg.json index 25cac61d2bf..9048040f705 100644 --- a/examples/compiled/bar_month_temporal.vg.json +++ b/examples/compiled/bar_month_temporal.vg.json @@ -138,5 +138,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_month_temporal_band_center.vg.json b/examples/compiled/bar_month_temporal_band_center.vg.json index 597691718b3..57b0442cbdc 100644 --- a/examples/compiled/bar_month_temporal_band_center.vg.json +++ b/examples/compiled/bar_month_temporal_band_center.vg.json @@ -156,5 +156,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_month_temporal_band_center_config.vg.json b/examples/compiled/bar_month_temporal_band_center_config.vg.json index 597691718b3..57b0442cbdc 100644 --- a/examples/compiled/bar_month_temporal_band_center_config.vg.json +++ b/examples/compiled/bar_month_temporal_band_center_config.vg.json @@ -156,5 +156,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_month_temporal_initial.vg.json b/examples/compiled/bar_month_temporal_initial.vg.json index 73328c7f46a..a176554df03 100644 --- a/examples/compiled/bar_month_temporal_initial.vg.json +++ b/examples/compiled/bar_month_temporal_initial.vg.json @@ -141,5 +141,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_multi_values_per_categories.vg.json b/examples/compiled/bar_multi_values_per_categories.vg.json index 63d48a5175b..f762468b245 100644 --- a/examples/compiled/bar_multi_values_per_categories.vg.json +++ b/examples/compiled/bar_multi_values_per_categories.vg.json @@ -122,5 +122,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_narrow_int_span.vg.json b/examples/compiled/bar_narrow_int_span.vg.json index 097366c8afa..47ae70811cb 100644 --- a/examples/compiled/bar_narrow_int_span.vg.json +++ b/examples/compiled/bar_narrow_int_span.vg.json @@ -121,5 +121,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_negative.vg.json b/examples/compiled/bar_negative.vg.json index 8965cdfe1dd..e25630dcbd0 100644 --- a/examples/compiled/bar_negative.vg.json +++ b/examples/compiled/bar_negative.vg.json @@ -131,5 +131,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_negative_horizontal_label.vg.json b/examples/compiled/bar_negative_horizontal_label.vg.json index 96aa0dbd669..913ada39cc7 100644 --- a/examples/compiled/bar_negative_horizontal_label.vg.json +++ b/examples/compiled/bar_negative_horizontal_label.vg.json @@ -175,5 +175,6 @@ "labelAlign": "right", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_params.vg.json b/examples/compiled/bar_params.vg.json index 3273c306424..f3950c6780e 100644 --- a/examples/compiled/bar_params.vg.json +++ b/examples/compiled/bar_params.vg.json @@ -159,5 +159,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_params_bound.vg.json b/examples/compiled/bar_params_bound.vg.json index 81146c10f5e..2da5290753f 100644 --- a/examples/compiled/bar_params_bound.vg.json +++ b/examples/compiled/bar_params_bound.vg.json @@ -163,5 +163,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_percent_of_total.vg.json b/examples/compiled/bar_percent_of_total.vg.json index 2258fe7f1df..db19edd3c78 100644 --- a/examples/compiled/bar_percent_of_total.vg.json +++ b/examples/compiled/bar_percent_of_total.vg.json @@ -127,5 +127,6 @@ "title": "Activity", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_q_qpow.vg.json b/examples/compiled/bar_q_qpow.vg.json index 6887375a4b4..3e7cfd2f09b 100644 --- a/examples/compiled/bar_q_qpow.vg.json +++ b/examples/compiled/bar_q_qpow.vg.json @@ -113,5 +113,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_qq_stack.vg.json b/examples/compiled/bar_qq_stack.vg.json index c7c5a653e65..2525b7da1f1 100644 --- a/examples/compiled/bar_qq_stack.vg.json +++ b/examples/compiled/bar_qq_stack.vg.json @@ -119,5 +119,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_qq_stack_horizontal.vg.json b/examples/compiled/bar_qq_stack_horizontal.vg.json index 734c1bd8399..28416b34ee9 100644 --- a/examples/compiled/bar_qq_stack_horizontal.vg.json +++ b/examples/compiled/bar_qq_stack_horizontal.vg.json @@ -120,5 +120,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_ranged_not_binned.vg.json b/examples/compiled/bar_ranged_not_binned.vg.json index 220fcb013bd..fc6e6de7b72 100644 --- a/examples/compiled/bar_ranged_not_binned.vg.json +++ b/examples/compiled/bar_ranged_not_binned.vg.json @@ -119,5 +119,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_simple_binned_timeunit_special_chars.vg.json b/examples/compiled/bar_simple_binned_timeunit_special_chars.vg.json index 2fb873170ff..43035e13151 100644 --- a/examples/compiled/bar_simple_binned_timeunit_special_chars.vg.json +++ b/examples/compiled/bar_simple_binned_timeunit_special_chars.vg.json @@ -155,5 +155,6 @@ }, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_simple_extent.vg.json b/examples/compiled/bar_simple_extent.vg.json index d25a759582c..5bb3e7709db 100644 --- a/examples/compiled/bar_simple_extent.vg.json +++ b/examples/compiled/bar_simple_extent.vg.json @@ -147,5 +147,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "a", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_size_default.vg.json b/examples/compiled/bar_size_default.vg.json index a657e6fda50..a55e44d33ef 100644 --- a/examples/compiled/bar_size_default.vg.json +++ b/examples/compiled/bar_size_default.vg.json @@ -100,5 +100,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_size_explicit_bad.vg.json b/examples/compiled/bar_size_explicit_bad.vg.json index 564c59c4639..5f37660784d 100644 --- a/examples/compiled/bar_size_explicit_bad.vg.json +++ b/examples/compiled/bar_size_explicit_bad.vg.json @@ -95,5 +95,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_size_fit.vg.json b/examples/compiled/bar_size_fit.vg.json index aed17f50753..55d1ed6716f 100644 --- a/examples/compiled/bar_size_fit.vg.json +++ b/examples/compiled/bar_size_fit.vg.json @@ -94,5 +94,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_size_responsive.vg.json b/examples/compiled/bar_size_responsive.vg.json index 2ed53842341..176e5aaf6d4 100644 --- a/examples/compiled/bar_size_responsive.vg.json +++ b/examples/compiled/bar_size_responsive.vg.json @@ -106,5 +106,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_size_step_small.vg.json b/examples/compiled/bar_size_step_small.vg.json index 4b49288a927..a473c79c8df 100644 --- a/examples/compiled/bar_size_step_small.vg.json +++ b/examples/compiled/bar_size_step_small.vg.json @@ -100,5 +100,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_sort_by_count.vg.json b/examples/compiled/bar_sort_by_count.vg.json index cec76baa9b7..eeceb4bbf7b 100644 --- a/examples/compiled/bar_sort_by_count.vg.json +++ b/examples/compiled/bar_sort_by_count.vg.json @@ -105,5 +105,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_swap_axes.vg.json b/examples/compiled/bar_swap_axes.vg.json index 24c5aedd843..e8e715e11ce 100644 --- a/examples/compiled/bar_swap_axes.vg.json +++ b/examples/compiled/bar_swap_axes.vg.json @@ -109,5 +109,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "a", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_swap_custom.vg.json b/examples/compiled/bar_swap_custom.vg.json index 4d8760930de..52852074cec 100644 --- a/examples/compiled/bar_swap_custom.vg.json +++ b/examples/compiled/bar_swap_custom.vg.json @@ -109,5 +109,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "a", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_temporal_color_config_time_unit_band_position.vg.json b/examples/compiled/bar_temporal_color_config_time_unit_band_position.vg.json index a1e33bc152f..600476eb2f0 100644 --- a/examples/compiled/bar_temporal_color_config_time_unit_band_position.vg.json +++ b/examples/compiled/bar_temporal_color_config_time_unit_band_position.vg.json @@ -139,5 +139,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "date (year)" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_title.vg.json b/examples/compiled/bar_title.vg.json index cef272a2d11..23ca1b82876 100644 --- a/examples/compiled/bar_title.vg.json +++ b/examples/compiled/bar_title.vg.json @@ -119,5 +119,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_title_start.vg.json b/examples/compiled/bar_title_start.vg.json index 03fedcee383..b87686d9a23 100644 --- a/examples/compiled/bar_title_start.vg.json +++ b/examples/compiled/bar_title_start.vg.json @@ -119,5 +119,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_tooltip.vg.json b/examples/compiled/bar_tooltip.vg.json index 5295344d5fb..dd4b63dbe85 100644 --- a/examples/compiled/bar_tooltip.vg.json +++ b/examples/compiled/bar_tooltip.vg.json @@ -120,5 +120,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_tooltip_aggregate.vg.json b/examples/compiled/bar_tooltip_aggregate.vg.json index f4b9af25c10..b0a82f34135 100644 --- a/examples/compiled/bar_tooltip_aggregate.vg.json +++ b/examples/compiled/bar_tooltip_aggregate.vg.json @@ -39,10 +39,10 @@ "description": { "signal": "\"Mean of data: \" + (format(datum[\"mean_data\"], \"\"))" }, + "height": {"value": 1}, "xc": {"signal": "width", "mult": 0.5}, - "yc": {"scale": "y", "field": "mean_data"}, - "width": {"value": 15}, - "height": {"value": 1} + "width": {"mult": 0.75, "field": {"group": "width"}}, + "yc": {"scale": "y", "field": "mean_data"} } } } @@ -80,5 +80,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_tooltip_groupby.vg.json b/examples/compiled/bar_tooltip_groupby.vg.json index d024f77b491..b6ee702f7d4 100644 --- a/examples/compiled/bar_tooltip_groupby.vg.json +++ b/examples/compiled/bar_tooltip_groupby.vg.json @@ -41,10 +41,10 @@ "description": { "signal": "\"Mean of data: \" + (format(datum[\"mean_data\"], \"\")) + \"; data: \" + (isValid(datum[\"data\"]) ? datum[\"data\"] : \"\"+datum[\"data\"])" }, + "height": {"value": 1}, "xc": {"signal": "width", "mult": 0.5}, - "yc": {"scale": "y", "field": "mean_data"}, - "width": {"value": 15}, - "height": {"value": 1} + "width": {"mult": 0.75, "field": {"group": "width"}}, + "yc": {"scale": "y", "field": "mean_data"} } } } @@ -82,5 +82,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_tooltip_multi.vg.json b/examples/compiled/bar_tooltip_multi.vg.json index 6a35ed202d9..00de957bb1b 100644 --- a/examples/compiled/bar_tooltip_multi.vg.json +++ b/examples/compiled/bar_tooltip_multi.vg.json @@ -121,5 +121,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_tooltip_title.vg.json b/examples/compiled/bar_tooltip_title.vg.json index 4575f585dbc..9a78b104466 100644 --- a/examples/compiled/bar_tooltip_title.vg.json +++ b/examples/compiled/bar_tooltip_title.vg.json @@ -121,5 +121,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_x_offset_without_x.vg.json b/examples/compiled/bar_x_offset_without_x.vg.json index c3fb601dde7..48698d28127 100644 --- a/examples/compiled/bar_x_offset_without_x.vg.json +++ b/examples/compiled/bar_x_offset_without_x.vg.json @@ -111,5 +111,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_yearmonth.vg.json b/examples/compiled/bar_yearmonth.vg.json index 3427f5e5de3..3c351135c89 100644 --- a/examples/compiled/bar_yearmonth.vg.json +++ b/examples/compiled/bar_yearmonth.vg.json @@ -141,5 +141,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_yearmonth_center_band.vg.json b/examples/compiled/bar_yearmonth_center_band.vg.json index 4886b6c607b..90536a196c4 100644 --- a/examples/compiled/bar_yearmonth_center_band.vg.json +++ b/examples/compiled/bar_yearmonth_center_band.vg.json @@ -159,5 +159,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_yearmonth_custom_format.vg.json b/examples/compiled/bar_yearmonth_custom_format.vg.json index 5463902d4fc..139d3975d43 100644 --- a/examples/compiled/bar_yearmonth_custom_format.vg.json +++ b/examples/compiled/bar_yearmonth_custom_format.vg.json @@ -139,5 +139,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/bar_yearmonthdate_minBandSize.vg.json b/examples/compiled/bar_yearmonthdate_minBandSize.vg.json index bcf02a37417..45af510d15b 100644 --- a/examples/compiled/bar_yearmonthdate_minBandSize.vg.json +++ b/examples/compiled/bar_yearmonthdate_minBandSize.vg.json @@ -140,5 +140,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_1D_horizontal.vg.json b/examples/compiled/boxplot_1D_horizontal.vg.json index b7dd9248884..03272f0c3cd 100644 --- a/examples/compiled/boxplot_1D_horizontal.vg.json +++ b/examples/compiled/boxplot_1D_horizontal.vg.json @@ -223,10 +223,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"max_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"min_Body Mass (g)\"], \"\")}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } } @@ -276,5 +276,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_1D_horizontal_custom_mark.vg.json b/examples/compiled/boxplot_1D_horizontal_custom_mark.vg.json index 37c52929e71..f21da4a1aa1 100644 --- a/examples/compiled/boxplot_1D_horizontal_custom_mark.vg.json +++ b/examples/compiled/boxplot_1D_horizontal_custom_mark.vg.json @@ -211,10 +211,10 @@ "tooltip": { "signal": "{\"Upper Whisker of Body Mass (g)\": format(datum[\"upper_whisker_Body Mass (g)\"], \"\"), \"Lower Whisker of Body Mass (g)\": format(datum[\"lower_whisker_Body Mass (g)\"], \"\")}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "lower_whisker_Body Mass (g)"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "height": {"mult": 0.75, "field": {"group": "height"}} } } }, @@ -231,10 +231,10 @@ "tooltip": { "signal": "{\"Upper Whisker of Body Mass (g)\": format(datum[\"upper_whisker_Body Mass (g)\"], \"\"), \"Lower Whisker of Body Mass (g)\": format(datum[\"lower_whisker_Body Mass (g)\"], \"\")}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "upper_whisker_Body Mass (g)"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "height": {"mult": 0.75, "field": {"group": "height"}} } } }, @@ -273,10 +273,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"max_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"min_Body Mass (g)\"], \"\")}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } } @@ -327,5 +327,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_1D_horizontal_explicit.vg.json b/examples/compiled/boxplot_1D_horizontal_explicit.vg.json index b7dd9248884..03272f0c3cd 100644 --- a/examples/compiled/boxplot_1D_horizontal_explicit.vg.json +++ b/examples/compiled/boxplot_1D_horizontal_explicit.vg.json @@ -223,10 +223,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"max_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"min_Body Mass (g)\"], \"\")}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } } @@ -276,5 +276,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_1D_invalid.vg.json b/examples/compiled/boxplot_1D_invalid.vg.json index 9bca1863b74..483338d724f 100644 --- a/examples/compiled/boxplot_1D_invalid.vg.json +++ b/examples/compiled/boxplot_1D_invalid.vg.json @@ -211,10 +211,10 @@ "tooltip": { "signal": "{\"Max of b\": format(datum[\"max_b\"], \"\"), \"Q3 of b\": format(datum[\"upper_box_b\"], \"\"), \"Median of b\": format(datum[\"mid_box_b\"], \"\"), \"Q1 of b\": format(datum[\"lower_box_b\"], \"\"), \"Min of b\": format(datum[\"min_b\"], \"\"), \"a\": format(datum[\"a\"], \"\")}" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "a"}, - "yc": {"scale": "y", "field": "mid_box_b"}, "width": {"value": 14}, - "height": {"value": 1} + "yc": {"scale": "y", "field": "mid_box_b"} } } } @@ -307,5 +307,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_1D_vertical.vg.json b/examples/compiled/boxplot_1D_vertical.vg.json index fcf60d6c8f1..998f7c286ae 100644 --- a/examples/compiled/boxplot_1D_vertical.vg.json +++ b/examples/compiled/boxplot_1D_vertical.vg.json @@ -223,10 +223,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"max_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"min_Body Mass (g)\"], \"\")}" }, + "height": {"value": 1}, "xc": {"signal": "width", "mult": 0.5}, - "yc": {"scale": "y", "field": "mid_box_Body Mass (g)"}, "width": {"value": 14}, - "height": {"value": 1} + "yc": {"scale": "y", "field": "mid_box_Body Mass (g)"} } } } @@ -275,5 +275,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_2D_horizontal.vg.json b/examples/compiled/boxplot_2D_horizontal.vg.json index 657e0434dd7..fbe9dbf31b3 100644 --- a/examples/compiled/boxplot_2D_horizontal.vg.json +++ b/examples/compiled/boxplot_2D_horizontal.vg.json @@ -226,10 +226,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"max_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"min_Body Mass (g)\"], \"\"), \"Species\": isValid(datum[\"Species\"]) ? datum[\"Species\"] : \"\"+datum[\"Species\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"scale": "y", "field": "Species", "band": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } } @@ -304,5 +304,6 @@ "title": "Species", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_2D_horizontal_color_size.vg.json b/examples/compiled/boxplot_2D_horizontal_color_size.vg.json index aa06950bc54..20cf6293e7c 100644 --- a/examples/compiled/boxplot_2D_horizontal_color_size.vg.json +++ b/examples/compiled/boxplot_2D_horizontal_color_size.vg.json @@ -226,10 +226,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"max_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"min_Body Mass (g)\"], \"\"), \"Species\": isValid(datum[\"Species\"]) ? datum[\"Species\"] : \"\"+datum[\"Species\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"scale": "y", "field": "Species", "band": 0.5}, - "height": {"value": 10}, - "width": {"value": 1} + "height": {"value": 10} } } } @@ -304,5 +304,6 @@ "title": "Species", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_2D_vertical.vg.json b/examples/compiled/boxplot_2D_vertical.vg.json index d79f793f822..b8a5687a409 100644 --- a/examples/compiled/boxplot_2D_vertical.vg.json +++ b/examples/compiled/boxplot_2D_vertical.vg.json @@ -226,10 +226,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"max_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"min_Body Mass (g)\"], \"\"), \"Species\": isValid(datum[\"Species\"]) ? datum[\"Species\"] : \"\"+datum[\"Species\"]}" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "Species", "band": 0.5}, - "yc": {"scale": "y", "field": "mid_box_Body Mass (g)"}, "width": {"value": 14}, - "height": {"value": 1} + "yc": {"scale": "y", "field": "mid_box_Body Mass (g)"} } } } @@ -318,5 +318,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_groupped.vg.json b/examples/compiled/boxplot_groupped.vg.json index 71cd079b7db..cb8e22baf4c 100644 --- a/examples/compiled/boxplot_groupped.vg.json +++ b/examples/compiled/boxplot_groupped.vg.json @@ -244,14 +244,14 @@ "tooltip": { "signal": "{\"Max of Acceleration\": format(datum[\"max_Acceleration\"], \"\"), \"Q3 of Acceleration\": format(datum[\"upper_box_Acceleration\"], \"\"), \"Median of Acceleration\": format(datum[\"mid_box_Acceleration\"], \"\"), \"Q1 of Acceleration\": format(datum[\"lower_box_Acceleration\"], \"\"), \"Min of Acceleration\": format(datum[\"min_Acceleration\"], \"\"), \"Cylinders\": isValid(datum[\"Cylinders\"]) ? datum[\"Cylinders\"] : \"\"+datum[\"Cylinders\"], \"Origin\": isValid(datum[\"Origin\"]) ? datum[\"Origin\"] : \"\"+datum[\"Origin\"]}" }, + "height": {"value": 1}, "xc": { "scale": "x", "field": "Cylinders", "offset": {"scale": "xOffset", "field": "Origin", "band": 0.5} }, - "yc": {"scale": "y", "field": "mid_box_Acceleration"}, "width": {"value": 14}, - "height": {"value": 1} + "yc": {"scale": "y", "field": "mid_box_Acceleration"} } } } @@ -364,5 +364,6 @@ "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}}, "fill": "color" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_minmax_2D_horizontal.vg.json b/examples/compiled/boxplot_minmax_2D_horizontal.vg.json index b6a8859e670..a27f27ed61b 100644 --- a/examples/compiled/boxplot_minmax_2D_horizontal.vg.json +++ b/examples/compiled/boxplot_minmax_2D_horizontal.vg.json @@ -149,10 +149,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"upper_whisker_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"lower_whisker_Body Mass (g)\"], \"\"), \"Species\": isValid(datum[\"Species\"]) ? datum[\"Species\"] : \"\"+datum[\"Species\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"scale": "y", "field": "Species", "band": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } } @@ -225,5 +225,6 @@ "title": "Species", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_minmax_2D_horizontal_custom_midtick_color.vg.json b/examples/compiled/boxplot_minmax_2D_horizontal_custom_midtick_color.vg.json index cbbf3ea9044..0eda626b66d 100644 --- a/examples/compiled/boxplot_minmax_2D_horizontal_custom_midtick_color.vg.json +++ b/examples/compiled/boxplot_minmax_2D_horizontal_custom_midtick_color.vg.json @@ -149,10 +149,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"upper_whisker_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"lower_whisker_Body Mass (g)\"], \"\"), \"Species\": isValid(datum[\"Species\"]) ? datum[\"Species\"] : \"\"+datum[\"Species\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"scale": "y", "field": "Species", "band": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } } @@ -225,5 +225,6 @@ "title": "Species", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_minmax_2D_vertical.vg.json b/examples/compiled/boxplot_minmax_2D_vertical.vg.json index ebff85d15d9..c705201edc0 100644 --- a/examples/compiled/boxplot_minmax_2D_vertical.vg.json +++ b/examples/compiled/boxplot_minmax_2D_vertical.vg.json @@ -149,10 +149,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"upper_whisker_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"lower_whisker_Body Mass (g)\"], \"\"), \"Species\": isValid(datum[\"Species\"]) ? datum[\"Species\"] : \"\"+datum[\"Species\"]}" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "Species", "band": 0.5}, - "yc": {"scale": "y", "field": "mid_box_Body Mass (g)"}, "width": {"value": 14}, - "height": {"value": 1} + "yc": {"scale": "y", "field": "mid_box_Body Mass (g)"} } } } @@ -233,5 +233,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_preaggregated.vg.json b/examples/compiled/boxplot_preaggregated.vg.json index 90a007ded05..fdcbb646f34 100644 --- a/examples/compiled/boxplot_preaggregated.vg.json +++ b/examples/compiled/boxplot_preaggregated.vg.json @@ -134,10 +134,10 @@ "description": { "signal": "\"median: \" + (format(datum[\"median\"], \"\")) + \"; Species: \" + (isValid(datum[\"Species\"]) ? datum[\"Species\"] : \"\"+datum[\"Species\"])" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "median"}, "yc": {"scale": "y", "field": "Species", "band": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } }, @@ -227,5 +227,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_tooltip_aggregate.vg.json b/examples/compiled/boxplot_tooltip_aggregate.vg.json index 3639739c61c..1aeb9ab4364 100644 --- a/examples/compiled/boxplot_tooltip_aggregate.vg.json +++ b/examples/compiled/boxplot_tooltip_aggregate.vg.json @@ -222,10 +222,10 @@ "opacity": {"value": 0.7}, "fill": {"value": "white"}, "tooltip": {"signal": "format(datum[\"mean_Body Mass (g)\"], \"\")"}, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"scale": "y", "field": "Species", "band": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } } @@ -300,5 +300,6 @@ "title": "Species", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/boxplot_tooltip_not_aggregate.vg.json b/examples/compiled/boxplot_tooltip_not_aggregate.vg.json index fdc830314a9..bca55710157 100644 --- a/examples/compiled/boxplot_tooltip_not_aggregate.vg.json +++ b/examples/compiled/boxplot_tooltip_not_aggregate.vg.json @@ -227,10 +227,10 @@ "tooltip": { "signal": "{\"Max of Body Mass (g)\": format(datum[\"max_Body Mass (g)\"], \"\"), \"Q3 of Body Mass (g)\": format(datum[\"upper_box_Body Mass (g)\"], \"\"), \"Median of Body Mass (g)\": format(datum[\"mid_box_Body Mass (g)\"], \"\"), \"Q1 of Body Mass (g)\": format(datum[\"lower_box_Body Mass (g)\"], \"\"), \"Min of Body Mass (g)\": format(datum[\"min_Body Mass (g)\"], \"\"), \"Species\": isValid(datum[\"Species\"]) ? datum[\"Species\"] : \"\"+datum[\"Species\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_Body Mass (g)"}, "yc": {"scale": "y", "field": "Species", "band": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } } @@ -305,5 +305,6 @@ "title": "Species", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/brush_table.vg.json b/examples/compiled/brush_table.vg.json index 43feeb43ee9..be7f63f299d 100644 --- a/examples/compiled/brush_table.vg.json +++ b/examples/compiled/brush_table.vg.json @@ -664,5 +664,6 @@ "range": {"step": {"signal": "concat_1_concat_2_y_step"}}, "padding": 0.5 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle.vg.json b/examples/compiled/circle.vg.json index 8c4e3092836..35128d4af6f 100644 --- a/examples/compiled/circle.vg.json +++ b/examples/compiled/circle.vg.json @@ -105,5 +105,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_binned.vg.json b/examples/compiled/circle_binned.vg.json index 35154892eb2..c250c97b4a4 100644 --- a/examples/compiled/circle_binned.vg.json +++ b/examples/compiled/circle_binned.vg.json @@ -156,5 +156,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_binned_maxbins_2.vg.json b/examples/compiled/circle_binned_maxbins_2.vg.json index e4736e4323e..2c46d9e5944 100644 --- a/examples/compiled/circle_binned_maxbins_2.vg.json +++ b/examples/compiled/circle_binned_maxbins_2.vg.json @@ -153,5 +153,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_binned_maxbins_20.vg.json b/examples/compiled/circle_binned_maxbins_20.vg.json index 162d9497e1b..69d72193056 100644 --- a/examples/compiled/circle_binned_maxbins_20.vg.json +++ b/examples/compiled/circle_binned_maxbins_20.vg.json @@ -156,5 +156,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_binned_maxbins_5.vg.json b/examples/compiled/circle_binned_maxbins_5.vg.json index c9fdbac9721..07eafd45e2c 100644 --- a/examples/compiled/circle_binned_maxbins_5.vg.json +++ b/examples/compiled/circle_binned_maxbins_5.vg.json @@ -153,5 +153,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_bubble_health_income.vg.json b/examples/compiled/circle_bubble_health_income.vg.json index d9c92b761e5..f7f1360f469 100644 --- a/examples/compiled/circle_bubble_health_income.vg.json +++ b/examples/compiled/circle_bubble_health_income.vg.json @@ -245,5 +245,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_custom_tick_labels.vg.json b/examples/compiled/circle_custom_tick_labels.vg.json index 31873165388..5a430e32b41 100644 --- a/examples/compiled/circle_custom_tick_labels.vg.json +++ b/examples/compiled/circle_custom_tick_labels.vg.json @@ -106,5 +106,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_flatten.vg.json b/examples/compiled/circle_flatten.vg.json index c0a7637be83..d32b5ccafb1 100644 --- a/examples/compiled/circle_flatten.vg.json +++ b/examples/compiled/circle_flatten.vg.json @@ -109,5 +109,6 @@ "title": "key", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_github_punchcard.vg.json b/examples/compiled/circle_github_punchcard.vg.json index d344d3c0084..f1f9ae51759 100644 --- a/examples/compiled/circle_github_punchcard.vg.json +++ b/examples/compiled/circle_github_punchcard.vg.json @@ -149,5 +149,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_labelangle_orient_signal.vg.json b/examples/compiled/circle_labelangle_orient_signal.vg.json index 54c2d54ff02..a18c01dad0d 100644 --- a/examples/compiled/circle_labelangle_orient_signal.vg.json +++ b/examples/compiled/circle_labelangle_orient_signal.vg.json @@ -185,5 +185,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_natural_disasters.vg.json b/examples/compiled/circle_natural_disasters.vg.json index 36a78505cac..9a126b2b2f5 100644 --- a/examples/compiled/circle_natural_disasters.vg.json +++ b/examples/compiled/circle_natural_disasters.vg.json @@ -101,5 +101,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_opacity.vg.json b/examples/compiled/circle_opacity.vg.json index ddbbfa783a5..1cf1be206b9 100644 --- a/examples/compiled/circle_opacity.vg.json +++ b/examples/compiled/circle_opacity.vg.json @@ -127,5 +127,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_scale_quantile.vg.json b/examples/compiled/circle_scale_quantile.vg.json index 3c812a5b967..457e7be8f25 100644 --- a/examples/compiled/circle_scale_quantile.vg.json +++ b/examples/compiled/circle_scale_quantile.vg.json @@ -102,5 +102,6 @@ "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}}, "size": "size" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_scale_quantize.vg.json b/examples/compiled/circle_scale_quantize.vg.json index 95888ced4cf..5dd8c694765 100644 --- a/examples/compiled/circle_scale_quantize.vg.json +++ b/examples/compiled/circle_scale_quantize.vg.json @@ -103,5 +103,6 @@ "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}}, "size": "size" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_scale_threshold.vg.json b/examples/compiled/circle_scale_threshold.vg.json index 9274ddb47e5..9da2e7d9b9b 100644 --- a/examples/compiled/circle_scale_threshold.vg.json +++ b/examples/compiled/circle_scale_threshold.vg.json @@ -100,5 +100,6 @@ "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}}, "size": "size" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_wilkinson_dotplot.vg.json b/examples/compiled/circle_wilkinson_dotplot.vg.json index 0360c4c601d..d2f8391c73a 100644 --- a/examples/compiled/circle_wilkinson_dotplot.vg.json +++ b/examples/compiled/circle_wilkinson_dotplot.vg.json @@ -85,5 +85,6 @@ "labelBaseline": "middle", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/circle_wilkinson_dotplot_stacked.vg.json b/examples/compiled/circle_wilkinson_dotplot_stacked.vg.json index f114196104f..a95905c9d03 100644 --- a/examples/compiled/circle_wilkinson_dotplot_stacked.vg.json +++ b/examples/compiled/circle_wilkinson_dotplot_stacked.vg.json @@ -120,5 +120,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/concat_bar_layer_circle.vg.json b/examples/compiled/concat_bar_layer_circle.vg.json index 170abb43197..c92f4ff01e0 100644 --- a/examples/compiled/concat_bar_layer_circle.vg.json +++ b/examples/compiled/concat_bar_layer_circle.vg.json @@ -415,5 +415,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/concat_bar_scales_discretize.vg.json b/examples/compiled/concat_bar_scales_discretize.vg.json index 93b90a95324..6d2ff13bf19 100644 --- a/examples/compiled/concat_bar_scales_discretize.vg.json +++ b/examples/compiled/concat_bar_scales_discretize.vg.json @@ -297,5 +297,6 @@ "domain": [30, 70], "range": [80, 200, 320] } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/concat_bar_scales_discretize_2_cols.vg.json b/examples/compiled/concat_bar_scales_discretize_2_cols.vg.json index ee5475a8089..09834cb8af6 100644 --- a/examples/compiled/concat_bar_scales_discretize_2_cols.vg.json +++ b/examples/compiled/concat_bar_scales_discretize_2_cols.vg.json @@ -297,5 +297,6 @@ "domain": [30, 70], "range": [80, 200, 320] } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/concat_hover.vg.json b/examples/compiled/concat_hover.vg.json index 56846cba0c9..cf86affa422 100644 --- a/examples/compiled/concat_hover.vg.json +++ b/examples/compiled/concat_hover.vg.json @@ -370,5 +370,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/concat_hover_filter.vg.json b/examples/compiled/concat_hover_filter.vg.json index 120ca84bc59..a947cbbf12a 100644 --- a/examples/compiled/concat_hover_filter.vg.json +++ b/examples/compiled/concat_hover_filter.vg.json @@ -418,5 +418,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/concat_layer_voyager_result.vg.json b/examples/compiled/concat_layer_voyager_result.vg.json index 38eb4f21420..b8508383933 100644 --- a/examples/compiled/concat_layer_voyager_result.vg.json +++ b/examples/compiled/concat_layer_voyager_result.vg.json @@ -355,6 +355,7 @@ "arrow-label": {"dy": 12, "fontSize": 9.5}, "arrow-label2": {"dy": 24, "fontSize": 9.5}, "cell": {"stroke": "transparent"}, + "tick": {"discreteBandSize": {"band": 0.75}}, "group-title": {"fontSize": 12} } } diff --git a/examples/compiled/concat_marginal_histograms.vg.json b/examples/compiled/concat_marginal_histograms.vg.json index 2c4a6d604d1..dad54083a22 100644 --- a/examples/compiled/concat_marginal_histograms.vg.json +++ b/examples/compiled/concat_marginal_histograms.vg.json @@ -412,5 +412,10 @@ "title": "Count of Records" } ], - "config": {"style": {"cell": {"stroke": "transparent"}}} + "config": { + "style": { + "cell": {"stroke": "transparent"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/concat_population_pyramid.vg.json b/examples/compiled/concat_population_pyramid.vg.json index 8e337a1fb8b..e9f9d148748 100644 --- a/examples/compiled/concat_population_pyramid.vg.json +++ b/examples/compiled/concat_population_pyramid.vg.json @@ -300,5 +300,11 @@ "paddingOuter": 0.05 } ], - "config": {"axis": {"grid": false}, "style": {"cell": {"stroke": null}}} + "config": { + "axis": {"grid": false}, + "style": { + "cell": {"stroke": null}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/concat_weather.vg.json b/examples/compiled/concat_weather.vg.json index 7db19ec2151..0e3578ee182 100644 --- a/examples/compiled/concat_weather.vg.json +++ b/examples/compiled/concat_weather.vg.json @@ -396,5 +396,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/config_numberFormatType_test.vg.json b/examples/compiled/config_numberFormatType_test.vg.json index 0d33c1e9b38..cad04fd326a 100644 --- a/examples/compiled/config_numberFormatType_test.vg.json +++ b/examples/compiled/config_numberFormatType_test.vg.json @@ -289,5 +289,8 @@ } } ], - "config": {"customFormatTypes": true} + "config": { + "customFormatTypes": true, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/config_numberFormatType_tooltip.vg.json b/examples/compiled/config_numberFormatType_tooltip.vg.json index b5c555ffc5a..d43e59c0af1 100644 --- a/examples/compiled/config_numberFormatType_tooltip.vg.json +++ b/examples/compiled/config_numberFormatType_tooltip.vg.json @@ -121,6 +121,7 @@ ], "config": { "tooltipFormat": {"numberFormat": ".8f"}, - "customFormatTypes": true + "customFormatTypes": true, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} } } diff --git a/examples/compiled/connected_scatterplot.vg.json b/examples/compiled/connected_scatterplot.vg.json index fa57708d384..feb09ee639f 100644 --- a/examples/compiled/connected_scatterplot.vg.json +++ b/examples/compiled/connected_scatterplot.vg.json @@ -139,5 +139,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/dynamic_color_legend.vg.json b/examples/compiled/dynamic_color_legend.vg.json index 4193e2fd7eb..45c6764cce1 100644 --- a/examples/compiled/dynamic_color_legend.vg.json +++ b/examples/compiled/dynamic_color_legend.vg.json @@ -621,5 +621,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/embedded_csv.vg.json b/examples/compiled/embedded_csv.vg.json index b66266cce55..f7cf0409814 100644 --- a/examples/compiled/embedded_csv.vg.json +++ b/examples/compiled/embedded_csv.vg.json @@ -70,5 +70,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/errorband_2d_horizontal_color_encoding.vg.json b/examples/compiled/errorband_2d_horizontal_color_encoding.vg.json index e734055794c..62de663c780 100644 --- a/examples/compiled/errorband_2d_horizontal_color_encoding.vg.json +++ b/examples/compiled/errorband_2d_horizontal_color_encoding.vg.json @@ -173,5 +173,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/errorband_2d_vertical_borders.vg.json b/examples/compiled/errorband_2d_vertical_borders.vg.json index b7de1f9556a..b2076e94e92 100644 --- a/examples/compiled/errorband_2d_vertical_borders.vg.json +++ b/examples/compiled/errorband_2d_vertical_borders.vg.json @@ -173,5 +173,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/errorband_tooltip.vg.json b/examples/compiled/errorband_tooltip.vg.json index ee699d4435f..4e8c48e2860 100644 --- a/examples/compiled/errorband_tooltip.vg.json +++ b/examples/compiled/errorband_tooltip.vg.json @@ -131,5 +131,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/errorbar_2d_vertical_ticks.png b/examples/compiled/errorbar_2d_vertical_ticks.png index 8c4828d6a63..a5ac9cd539d 100644 Binary files a/examples/compiled/errorbar_2d_vertical_ticks.png and b/examples/compiled/errorbar_2d_vertical_ticks.png differ diff --git a/examples/compiled/errorbar_2d_vertical_ticks.svg b/examples/compiled/errorbar_2d_vertical_ticks.svg index 6de06f9260a..49ef22cd484 100644 --- a/examples/compiled/errorbar_2d_vertical_ticks.svg +++ b/examples/compiled/errorbar_2d_vertical_ticks.svg @@ -1 +1 @@ -197019721974197619781980Year (year)1520253035Miles per Gallon (95% CIs) \ No newline at end of file +197019721974197619781980Year (year)1520253035Miles per Gallon (95% CIs) \ No newline at end of file diff --git a/examples/compiled/errorbar_2d_vertical_ticks.vg.json b/examples/compiled/errorbar_2d_vertical_ticks.vg.json index 35c3dd85581..00fb06200c0 100644 --- a/examples/compiled/errorbar_2d_vertical_ticks.vg.json +++ b/examples/compiled/errorbar_2d_vertical_ticks.vg.json @@ -69,10 +69,10 @@ "tooltip": { "signal": "{\"Ci1 of Miles_per_Gallon\": format(datum[\"upper_Miles_per_Gallon\"], \"\"), \"Ci0 of Miles_per_Gallon\": format(datum[\"lower_Miles_per_Gallon\"], \"\"), \"Mean of Miles_per_Gallon\": format(datum[\"center_Miles_per_Gallon\"], \"\"), \"Year (year)\": timeFormat(datum[\"year_Year\"], '%b %d, %Y')}" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "year_Year"}, - "yc": {"scale": "y", "field": "lower_Miles_per_Gallon"}, - "width": {"value": 15}, - "height": {"value": 1} + "width": {"value": 18}, + "yc": {"scale": "y", "field": "lower_Miles_per_Gallon"} } } }, @@ -89,10 +89,10 @@ "tooltip": { "signal": "{\"Ci1 of Miles_per_Gallon\": format(datum[\"upper_Miles_per_Gallon\"], \"\"), \"Ci0 of Miles_per_Gallon\": format(datum[\"lower_Miles_per_Gallon\"], \"\"), \"Mean of Miles_per_Gallon\": format(datum[\"center_Miles_per_Gallon\"], \"\"), \"Year (year)\": timeFormat(datum[\"year_Year\"], '%b %d, %Y')}" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "year_Year"}, - "yc": {"scale": "y", "field": "upper_Miles_per_Gallon"}, - "width": {"value": 15}, - "height": {"value": 1} + "width": {"value": 18}, + "yc": {"scale": "y", "field": "upper_Miles_per_Gallon"} } } }, @@ -193,5 +193,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/errorbar_aggregate.vg.json b/examples/compiled/errorbar_aggregate.vg.json index 70df5482110..2499f0069a9 100644 --- a/examples/compiled/errorbar_aggregate.vg.json +++ b/examples/compiled/errorbar_aggregate.vg.json @@ -86,10 +86,10 @@ "description": { "signal": "\"age: \" + (isValid(datum[\"age\"]) ? datum[\"age\"] : \"\"+datum[\"age\"]) + \"; population: \" + (format(datum[\"min_people\"], \"\"))" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "age", "band": 0.5}, - "yc": {"scale": "y", "field": "min_people"}, "width": {"value": 5}, - "height": {"value": 1} + "yc": {"scale": "y", "field": "min_people"} } } }, @@ -105,10 +105,10 @@ "description": { "signal": "\"age: \" + (isValid(datum[\"age\"]) ? datum[\"age\"] : \"\"+datum[\"age\"]) + \"; population: \" + (format(datum[\"max_people\"], \"\"))" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "age", "band": 0.5}, - "yc": {"scale": "y", "field": "max_people"}, "width": {"value": 5}, - "height": {"value": 1} + "yc": {"scale": "y", "field": "max_people"} } } }, @@ -198,5 +198,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/errorbar_horizontal_aggregate.vg.json b/examples/compiled/errorbar_horizontal_aggregate.vg.json index e1c5a726d4e..e22faab307f 100644 --- a/examples/compiled/errorbar_horizontal_aggregate.vg.json +++ b/examples/compiled/errorbar_horizontal_aggregate.vg.json @@ -86,10 +86,10 @@ "description": { "signal": "\"population: \" + (format(datum[\"min_people\"], \"\")) + \"; age: \" + (isValid(datum[\"age\"]) ? datum[\"age\"] : \"\"+datum[\"age\"])" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "min_people"}, "yc": {"scale": "y", "field": "age", "band": 0.5}, - "height": {"value": 5}, - "width": {"value": 1} + "height": {"value": 5} } } }, @@ -105,10 +105,10 @@ "description": { "signal": "\"population: \" + (format(datum[\"max_people\"], \"\")) + \"; age: \" + (isValid(datum[\"age\"]) ? datum[\"age\"] : \"\"+datum[\"age\"])" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "max_people"}, "yc": {"scale": "y", "field": "age", "band": 0.5}, - "height": {"value": 5}, - "width": {"value": 1} + "height": {"value": 5} } } }, @@ -190,5 +190,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "age", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/errorbar_tooltip.vg.json b/examples/compiled/errorbar_tooltip.vg.json index 21572cd9cd1..4cd998b99a6 100644 --- a/examples/compiled/errorbar_tooltip.vg.json +++ b/examples/compiled/errorbar_tooltip.vg.json @@ -111,5 +111,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/facet_bullet.vg.json b/examples/compiled/facet_bullet.vg.json index d594fea2081..6a581e3cea4 100644 --- a/examples/compiled/facet_bullet.vg.json +++ b/examples/compiled/facet_bullet.vg.json @@ -437,10 +437,10 @@ "description": { "signal": "\"markers[0]: \" + (format(datum[\"markers.0\"], \"\"))" }, + "width": {"value": 2}, "xc": {"scale": "child_x", "field": "markers\\.0"}, "yc": {"signal": "child_height", "mult": 0.5}, - "height": {"value": 15}, - "width": {"value": 2} + "height": {"mult": 0.75, "field": {"group": "height"}} } } } @@ -494,5 +494,6 @@ } ] } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/facet_column_facet_column_point_future.vg.json b/examples/compiled/facet_column_facet_column_point_future.vg.json index 57f87487cb6..c2e1f15bf3a 100644 --- a/examples/compiled/facet_column_facet_column_point_future.vg.json +++ b/examples/compiled/facet_column_facet_column_point_future.vg.json @@ -239,5 +239,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/facet_column_facet_row_point_future.vg.json b/examples/compiled/facet_column_facet_row_point_future.vg.json index ad1c118a5f4..4d3cedf9355 100644 --- a/examples/compiled/facet_column_facet_row_point_future.vg.json +++ b/examples/compiled/facet_column_facet_row_point_future.vg.json @@ -235,5 +235,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/facet_cross_independent_scale.vg.json b/examples/compiled/facet_cross_independent_scale.vg.json index d6280b91b19..fdcfdcfdb2c 100644 --- a/examples/compiled/facet_cross_independent_scale.vg.json +++ b/examples/compiled/facet_cross_independent_scale.vg.json @@ -214,5 +214,6 @@ } ] } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/facet_custom.vg.json b/examples/compiled/facet_custom.vg.json index 8efd0d24a60..e014d31bd68 100644 --- a/examples/compiled/facet_custom.vg.json +++ b/examples/compiled/facet_custom.vg.json @@ -203,5 +203,6 @@ "range": ["#675193", "#ca8861"] } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/facet_custom_header.vg.json b/examples/compiled/facet_custom_header.vg.json index 8efd0d24a60..e014d31bd68 100644 --- a/examples/compiled/facet_custom_header.vg.json +++ b/examples/compiled/facet_custom_header.vg.json @@ -203,5 +203,6 @@ "range": ["#675193", "#ca8861"] } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/facet_grid_bar.vg.json b/examples/compiled/facet_grid_bar.vg.json index ffe8d7fbb69..9200ea340bb 100644 --- a/examples/compiled/facet_grid_bar.vg.json +++ b/examples/compiled/facet_grid_bar.vg.json @@ -248,5 +248,6 @@ "direction": "horizontal", "symbolType": "square" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/facet_independent_scale.vg.json b/examples/compiled/facet_independent_scale.vg.json index ec52febd7e1..768c115034c 100644 --- a/examples/compiled/facet_independent_scale.vg.json +++ b/examples/compiled/facet_independent_scale.vg.json @@ -211,5 +211,10 @@ } ], "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], - "config": {"style": {"cell": {"fill": "yellow"}}} + "config": { + "style": { + "cell": {"fill": "yellow"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/facet_independent_scale_layer_broken.vg.json b/examples/compiled/facet_independent_scale_layer_broken.vg.json index f599074525c..d0b81b5704b 100644 --- a/examples/compiled/facet_independent_scale_layer_broken.vg.json +++ b/examples/compiled/facet_independent_scale_layer_broken.vg.json @@ -298,5 +298,10 @@ "encode": {"symbols": {"update": {"fill": {"value": "transparent"}}}} } ], - "config": {"style": {"cell": {"fill": "yellow"}}} + "config": { + "style": { + "cell": {"fill": "yellow"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/facet_row_facet_row_point_future.vg.json b/examples/compiled/facet_row_facet_row_point_future.vg.json index 89e8daaca49..cf0eb072240 100644 --- a/examples/compiled/facet_row_facet_row_point_future.vg.json +++ b/examples/compiled/facet_row_facet_row_point_future.vg.json @@ -224,5 +224,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_choropleth.vg.json b/examples/compiled/geo_choropleth.vg.json index 857c5be0c14..7f60fb3d491 100644 --- a/examples/compiled/geo_choropleth.vg.json +++ b/examples/compiled/geo_choropleth.vg.json @@ -72,5 +72,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "rate" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_circle.vg.json b/examples/compiled/geo_circle.vg.json index 928b5138eac..c91a8af9a81 100644 --- a/examples/compiled/geo_circle.vg.json +++ b/examples/compiled/geo_circle.vg.json @@ -75,5 +75,6 @@ "title": "digit", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_constant_value.vg.json b/examples/compiled/geo_constant_value.vg.json index ebf40947e06..80e306a606c 100644 --- a/examples/compiled/geo_constant_value.vg.json +++ b/examples/compiled/geo_constant_value.vg.json @@ -130,5 +130,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_custom_projection.vg.json b/examples/compiled/geo_custom_projection.vg.json index 11e3a1680d0..fc1ca7bc548 100644 --- a/examples/compiled/geo_custom_projection.vg.json +++ b/examples/compiled/geo_custom_projection.vg.json @@ -71,5 +71,10 @@ } } ], - "config": {"style": {"cell": {"stroke": null}}} + "config": { + "style": { + "cell": {"stroke": null}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/geo_graticule.vg.json b/examples/compiled/geo_graticule.vg.json index 4383dbdff48..2099392cfbb 100644 --- a/examples/compiled/geo_graticule.vg.json +++ b/examples/compiled/geo_graticule.vg.json @@ -29,5 +29,6 @@ }, "transform": [{"type": "geoshape", "projection": "projection"}] } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_graticule_object.vg.json b/examples/compiled/geo_graticule_object.vg.json index 80d5094d91f..e43cb689cba 100644 --- a/examples/compiled/geo_graticule_object.vg.json +++ b/examples/compiled/geo_graticule_object.vg.json @@ -32,5 +32,6 @@ }, "transform": [{"type": "geoshape", "projection": "projection"}] } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_layer.vg.json b/examples/compiled/geo_layer.vg.json index b2b66955c18..f7c10f29e11 100644 --- a/examples/compiled/geo_layer.vg.json +++ b/examples/compiled/geo_layer.vg.json @@ -73,5 +73,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_layer_line_london.vg.json b/examples/compiled/geo_layer_line_london.vg.json index c2bf00c0f35..a2f45769a96 100644 --- a/examples/compiled/geo_layer_line_london.vg.json +++ b/examples/compiled/geo_layer_line_london.vg.json @@ -150,5 +150,6 @@ "symbolType": "circle", "encode": {"symbols": {"update": {"fill": {"value": "transparent"}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_line.vg.json b/examples/compiled/geo_line.vg.json index 6220f8efc72..fd33b2c48eb 100644 --- a/examples/compiled/geo_line.vg.json +++ b/examples/compiled/geo_line.vg.json @@ -130,5 +130,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_params_projections.vg.json b/examples/compiled/geo_params_projections.vg.json index 03b8102be8f..437c21d04b3 100644 --- a/examples/compiled/geo_params_projections.vg.json +++ b/examples/compiled/geo_params_projections.vg.json @@ -61,5 +61,6 @@ }, "transform": [{"type": "geoshape", "projection": "projection"}] } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_point.vg.json b/examples/compiled/geo_point.vg.json index 4991440538e..400f23e942c 100644 --- a/examples/compiled/geo_point.vg.json +++ b/examples/compiled/geo_point.vg.json @@ -55,5 +55,10 @@ } } ], - "config": {"style": {"cell": {"stroke": "transparent"}}} + "config": { + "style": { + "cell": {"stroke": "transparent"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/geo_repeat.vg.json b/examples/compiled/geo_repeat.vg.json index 52b141ba781..72df5d76443 100644 --- a/examples/compiled/geo_repeat.vg.json +++ b/examples/compiled/geo_repeat.vg.json @@ -259,5 +259,6 @@ "interpolate": "hcl", "zero": false } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_rule.vg.json b/examples/compiled/geo_rule.vg.json index a1e005b3455..fa065204c2e 100644 --- a/examples/compiled/geo_rule.vg.json +++ b/examples/compiled/geo_rule.vg.json @@ -139,5 +139,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_sphere.vg.json b/examples/compiled/geo_sphere.vg.json index d1f0cc01891..4c0359f87a9 100644 --- a/examples/compiled/geo_sphere.vg.json +++ b/examples/compiled/geo_sphere.vg.json @@ -48,5 +48,6 @@ }, "transform": [{"type": "geoshape", "projection": "projection"}] } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_text.vg.json b/examples/compiled/geo_text.vg.json index 070f566b959..1660fa1c09b 100644 --- a/examples/compiled/geo_text.vg.json +++ b/examples/compiled/geo_text.vg.json @@ -117,5 +117,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/geo_trellis.vg.json b/examples/compiled/geo_trellis.vg.json index 23073cb4ae6..01f0864cee4 100644 --- a/examples/compiled/geo_trellis.vg.json +++ b/examples/compiled/geo_trellis.vg.json @@ -138,5 +138,6 @@ "gradientLength": {"signal": "clamp(child_height, 64, 200)"}, "title": "pct" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/hconcat_weather.vg.json b/examples/compiled/hconcat_weather.vg.json index 240bcd9e94b..995c0437900 100644 --- a/examples/compiled/hconcat_weather.vg.json +++ b/examples/compiled/hconcat_weather.vg.json @@ -287,5 +287,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram.vg.json b/examples/compiled/histogram.vg.json index 600bc069e8d..ccea0b03adb 100644 --- a/examples/compiled/histogram.vg.json +++ b/examples/compiled/histogram.vg.json @@ -131,5 +131,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_bin_change.vg.json b/examples/compiled/histogram_bin_change.vg.json index cbeb5fd9142..529f5343714 100644 --- a/examples/compiled/histogram_bin_change.vg.json +++ b/examples/compiled/histogram_bin_change.vg.json @@ -131,5 +131,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_bin_spacing.vg.json b/examples/compiled/histogram_bin_spacing.vg.json index 92e7e119d58..a92659db535 100644 --- a/examples/compiled/histogram_bin_spacing.vg.json +++ b/examples/compiled/histogram_bin_spacing.vg.json @@ -131,5 +131,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_bin_spacing_reverse.vg.json b/examples/compiled/histogram_bin_spacing_reverse.vg.json index 201da13c9b8..64f050a6970 100644 --- a/examples/compiled/histogram_bin_spacing_reverse.vg.json +++ b/examples/compiled/histogram_bin_spacing_reverse.vg.json @@ -132,5 +132,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_bin_transform.vg.json b/examples/compiled/histogram_bin_transform.vg.json index c2979ec1bf9..9408c889a96 100644 --- a/examples/compiled/histogram_bin_transform.vg.json +++ b/examples/compiled/histogram_bin_transform.vg.json @@ -126,5 +126,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_invalid_null.vg.json b/examples/compiled/histogram_invalid_null.vg.json index cfa083c3722..d01da43041f 100644 --- a/examples/compiled/histogram_invalid_null.vg.json +++ b/examples/compiled/histogram_invalid_null.vg.json @@ -127,5 +127,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_log.vg.json b/examples/compiled/histogram_log.vg.json index 31cba9057c5..5dd755892bc 100644 --- a/examples/compiled/histogram_log.vg.json +++ b/examples/compiled/histogram_log.vg.json @@ -145,5 +145,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_no_spacing.vg.json b/examples/compiled/histogram_no_spacing.vg.json index b16ff5dfbc1..f6fcb0a8ad1 100644 --- a/examples/compiled/histogram_no_spacing.vg.json +++ b/examples/compiled/histogram_no_spacing.vg.json @@ -131,5 +131,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_nonlinear.vg.json b/examples/compiled/histogram_nonlinear.vg.json index 0230f34fe85..8fc9b35f96f 100644 --- a/examples/compiled/histogram_nonlinear.vg.json +++ b/examples/compiled/histogram_nonlinear.vg.json @@ -128,5 +128,6 @@ }, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_ordinal.vg.json b/examples/compiled/histogram_ordinal.vg.json index 1b11b8bd796..bd63a4dd459 100644 --- a/examples/compiled/histogram_ordinal.vg.json +++ b/examples/compiled/histogram_ordinal.vg.json @@ -129,5 +129,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_ordinal_sort.vg.json b/examples/compiled/histogram_ordinal_sort.vg.json index a31354fb066..915de23acc2 100644 --- a/examples/compiled/histogram_ordinal_sort.vg.json +++ b/examples/compiled/histogram_ordinal_sort.vg.json @@ -135,5 +135,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_rel_freq.vg.json b/examples/compiled/histogram_rel_freq.vg.json index 4b292dad5d5..6d153407a21 100644 --- a/examples/compiled/histogram_rel_freq.vg.json +++ b/examples/compiled/histogram_rel_freq.vg.json @@ -152,5 +152,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/histogram_reverse.vg.json b/examples/compiled/histogram_reverse.vg.json index 7ea5fb71df7..e61cb308240 100644 --- a/examples/compiled/histogram_reverse.vg.json +++ b/examples/compiled/histogram_reverse.vg.json @@ -132,5 +132,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_1d_geo_brush.vg.json b/examples/compiled/interactive_1d_geo_brush.vg.json index 305a000a680..51462fb6d81 100644 --- a/examples/compiled/interactive_1d_geo_brush.vg.json +++ b/examples/compiled/interactive_1d_geo_brush.vg.json @@ -346,5 +346,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_airport_crossfilter.vg.json b/examples/compiled/interactive_airport_crossfilter.vg.json index ec0ea33fd07..b938cab6f6b 100644 --- a/examples/compiled/interactive_airport_crossfilter.vg.json +++ b/examples/compiled/interactive_airport_crossfilter.vg.json @@ -857,5 +857,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_area_brush.vg.json b/examples/compiled/interactive_area_brush.vg.json index a6200b8a346..39eb688ffe6 100644 --- a/examples/compiled/interactive_area_brush.vg.json +++ b/examples/compiled/interactive_area_brush.vg.json @@ -439,5 +439,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_bar_select_highlight.vg.json b/examples/compiled/interactive_bar_select_highlight.vg.json index 4c67db065f6..0f0700f568c 100644 --- a/examples/compiled/interactive_bar_select_highlight.vg.json +++ b/examples/compiled/interactive_bar_select_highlight.vg.json @@ -226,5 +226,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_bin_extent.vg.json b/examples/compiled/interactive_bin_extent.vg.json index 99a55e1a2ea..537f5ee680c 100644 --- a/examples/compiled/interactive_bin_extent.vg.json +++ b/examples/compiled/interactive_bin_extent.vg.json @@ -554,5 +554,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_bin_extent_bottom.vg.json b/examples/compiled/interactive_bin_extent_bottom.vg.json index d4c500689f3..b98024106a2 100644 --- a/examples/compiled/interactive_bin_extent_bottom.vg.json +++ b/examples/compiled/interactive_bin_extent_bottom.vg.json @@ -555,5 +555,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_brush.vg.json b/examples/compiled/interactive_brush.vg.json index 45decf1ac6d..3b0d39e1f95 100644 --- a/examples/compiled/interactive_brush.vg.json +++ b/examples/compiled/interactive_brush.vg.json @@ -474,5 +474,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_concat_layer.vg.json b/examples/compiled/interactive_concat_layer.vg.json index 8fe143bcde7..f0d41477568 100644 --- a/examples/compiled/interactive_concat_layer.vg.json +++ b/examples/compiled/interactive_concat_layer.vg.json @@ -428,5 +428,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_crossfilter.vg.json b/examples/compiled/interactive_crossfilter.vg.json index 32ea6aecfd5..4fe7cef5be2 100644 --- a/examples/compiled/interactive_crossfilter.vg.json +++ b/examples/compiled/interactive_crossfilter.vg.json @@ -1118,5 +1118,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_dashboard_europe_pop.vg.json b/examples/compiled/interactive_dashboard_europe_pop.vg.json index 5816e34a467..a14efd6d438 100644 --- a/examples/compiled/interactive_dashboard_europe_pop.vg.json +++ b/examples/compiled/interactive_dashboard_europe_pop.vg.json @@ -1532,5 +1532,6 @@ "zero": false, "nice": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_geo_earthquakes.vg.json b/examples/compiled/interactive_geo_earthquakes.vg.json index 84686894050..02ddf47fac0 100644 --- a/examples/compiled/interactive_geo_earthquakes.vg.json +++ b/examples/compiled/interactive_geo_earthquakes.vg.json @@ -136,5 +136,6 @@ "range": [0, {"signal": "pow(earthquakeSize, 3)"}], "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_global_development.vg.json b/examples/compiled/interactive_global_development.vg.json index abfdd0571ad..1744b030702 100644 --- a/examples/compiled/interactive_global_development.vg.json +++ b/examples/compiled/interactive_global_development.vg.json @@ -458,5 +458,6 @@ "symbolType": "circle", "encode": {"symbols": {"update": {"opacity": {"value": 0.9}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_histogram_full_height_hover.vg.json b/examples/compiled/interactive_histogram_full_height_hover.vg.json index ecb49a48576..e78161dcbcc 100644 --- a/examples/compiled/interactive_histogram_full_height_hover.vg.json +++ b/examples/compiled/interactive_histogram_full_height_hover.vg.json @@ -243,5 +243,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_index_chart.vg.json b/examples/compiled/interactive_index_chart.vg.json index 58c0e70a1e6..87a81cdf923 100644 --- a/examples/compiled/interactive_index_chart.vg.json +++ b/examples/compiled/interactive_index_chart.vg.json @@ -337,5 +337,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_layered_crossfilter.vg.json b/examples/compiled/interactive_layered_crossfilter.vg.json index 5e60173eeed..3cbd9523aab 100644 --- a/examples/compiled/interactive_layered_crossfilter.vg.json +++ b/examples/compiled/interactive_layered_crossfilter.vg.json @@ -1355,5 +1355,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_layered_crossfilter_discrete.vg.json b/examples/compiled/interactive_layered_crossfilter_discrete.vg.json index 3a58160721b..0b47fecaf84 100644 --- a/examples/compiled/interactive_layered_crossfilter_discrete.vg.json +++ b/examples/compiled/interactive_layered_crossfilter_discrete.vg.json @@ -737,5 +737,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_legend.vg.json b/examples/compiled/interactive_legend.vg.json index 5acf51dd370..5e9d5cade31 100644 --- a/examples/compiled/interactive_legend.vg.json +++ b/examples/compiled/interactive_legend.vg.json @@ -266,5 +266,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_legend_dblclick.vg.json b/examples/compiled/interactive_legend_dblclick.vg.json index f30cd40e679..897bba9ab6a 100644 --- a/examples/compiled/interactive_legend_dblclick.vg.json +++ b/examples/compiled/interactive_legend_dblclick.vg.json @@ -266,5 +266,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_line_brush_cursor.vg.json b/examples/compiled/interactive_line_brush_cursor.vg.json index a79c1cba912..8d9bcc75804 100644 --- a/examples/compiled/interactive_line_brush_cursor.vg.json +++ b/examples/compiled/interactive_line_brush_cursor.vg.json @@ -363,5 +363,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_line_hover.vg.json b/examples/compiled/interactive_line_hover.vg.json index 290fea35981..62a7cb4e2fb 100644 --- a/examples/compiled/interactive_line_hover.vg.json +++ b/examples/compiled/interactive_line_hover.vg.json @@ -347,5 +347,10 @@ "zindex": 0 } ], - "config": {"style": {"cell": {"stroke": null}}} + "config": { + "style": { + "cell": {"stroke": null}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/interactive_line_point_hover.vg.json b/examples/compiled/interactive_line_point_hover.vg.json index 217995417ce..9e2342fb408 100644 --- a/examples/compiled/interactive_line_point_hover.vg.json +++ b/examples/compiled/interactive_line_point_hover.vg.json @@ -248,5 +248,6 @@ "fill": "color", "encode": {"symbols": {"update": {"opacity": {"value": 1}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_multi_line_label.vg.json b/examples/compiled/interactive_multi_line_label.vg.json index 903598cd436..43cb33410a5 100644 --- a/examples/compiled/interactive_multi_line_label.vg.json +++ b/examples/compiled/interactive_multi_line_label.vg.json @@ -373,5 +373,6 @@ "encode": {"symbols": {"update": {"opacity": {"value": 1}}}}, "fill": "color" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_multi_line_pivot_tooltip.vg.json b/examples/compiled/interactive_multi_line_pivot_tooltip.vg.json index 37bd13d8d1e..907c55ec321 100644 --- a/examples/compiled/interactive_multi_line_pivot_tooltip.vg.json +++ b/examples/compiled/interactive_multi_line_pivot_tooltip.vg.json @@ -321,5 +321,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_multi_line_tooltip.vg.json b/examples/compiled/interactive_multi_line_tooltip.vg.json index 9eed96e4d95..dc1c4497c76 100644 --- a/examples/compiled/interactive_multi_line_tooltip.vg.json +++ b/examples/compiled/interactive_multi_line_tooltip.vg.json @@ -235,5 +235,8 @@ "zindex": 0 } ], - "config": {"axisY": {"minExtent": 30}} + "config": { + "axisY": {"minExtent": 30}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/interactive_overview_detail.vg.json b/examples/compiled/interactive_overview_detail.vg.json index 1a09c1638ca..2fba96a7b20 100644 --- a/examples/compiled/interactive_overview_detail.vg.json +++ b/examples/compiled/interactive_overview_detail.vg.json @@ -508,5 +508,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_paintbrush.vg.json b/examples/compiled/interactive_paintbrush.vg.json index 453313cf66e..ae5cdb3f759 100644 --- a/examples/compiled/interactive_paintbrush.vg.json +++ b/examples/compiled/interactive_paintbrush.vg.json @@ -189,5 +189,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_paintbrush_color.vg.json b/examples/compiled/interactive_paintbrush_color.vg.json index c15d8756893..3d2496a9dda 100644 --- a/examples/compiled/interactive_paintbrush_color.vg.json +++ b/examples/compiled/interactive_paintbrush_color.vg.json @@ -179,5 +179,6 @@ "title": "Cylinders", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_paintbrush_color_nearest.vg.json b/examples/compiled/interactive_paintbrush_color_nearest.vg.json index f7d962fa2da..c6045bc57e5 100644 --- a/examples/compiled/interactive_paintbrush_color_nearest.vg.json +++ b/examples/compiled/interactive_paintbrush_color_nearest.vg.json @@ -205,5 +205,6 @@ "title": "Cylinders", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_paintbrush_interval.vg.json b/examples/compiled/interactive_paintbrush_interval.vg.json index ca92f23c6d4..f162bf25558 100644 --- a/examples/compiled/interactive_paintbrush_interval.vg.json +++ b/examples/compiled/interactive_paintbrush_interval.vg.json @@ -439,5 +439,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_paintbrush_simple_false.vg.json b/examples/compiled/interactive_paintbrush_simple_false.vg.json index c5954a16e84..b4903a5a311 100644 --- a/examples/compiled/interactive_paintbrush_simple_false.vg.json +++ b/examples/compiled/interactive_paintbrush_simple_false.vg.json @@ -187,5 +187,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_paintbrush_simple_true.vg.json b/examples/compiled/interactive_paintbrush_simple_true.vg.json index 6e225de8b86..6f88e9e8a88 100644 --- a/examples/compiled/interactive_paintbrush_simple_true.vg.json +++ b/examples/compiled/interactive_paintbrush_simple_true.vg.json @@ -187,5 +187,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_panzoom_splom.vg.json b/examples/compiled/interactive_panzoom_splom.vg.json index ee08ac75c46..7ce932c2fbf 100644 --- a/examples/compiled/interactive_panzoom_splom.vg.json +++ b/examples/compiled/interactive_panzoom_splom.vg.json @@ -2074,5 +2074,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_panzoom_vconcat_shared.vg.json b/examples/compiled/interactive_panzoom_vconcat_shared.vg.json index ad089bb44d7..12c69c4672b 100644 --- a/examples/compiled/interactive_panzoom_vconcat_shared.vg.json +++ b/examples/compiled/interactive_panzoom_vconcat_shared.vg.json @@ -358,5 +358,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_point_domainRaw_binding.vg.json b/examples/compiled/interactive_point_domainRaw_binding.vg.json index 45d5a3127d5..d8e92267281 100644 --- a/examples/compiled/interactive_point_domainRaw_binding.vg.json +++ b/examples/compiled/interactive_point_domainRaw_binding.vg.json @@ -144,5 +144,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_point_init.vg.json b/examples/compiled/interactive_point_init.vg.json index 7ea5d46c2c9..386c6354d33 100644 --- a/examples/compiled/interactive_point_init.vg.json +++ b/examples/compiled/interactive_point_init.vg.json @@ -200,5 +200,6 @@ "title": "Origin", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_query_widgets.vg.json b/examples/compiled/interactive_query_widgets.vg.json index 27a4d523a24..905b2fceef6 100644 --- a/examples/compiled/interactive_query_widgets.vg.json +++ b/examples/compiled/interactive_query_widgets.vg.json @@ -242,5 +242,6 @@ "title": "Origin", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_seattle_weather.vg.json b/examples/compiled/interactive_seattle_weather.vg.json index 985b6867569..54db700ddce 100644 --- a/examples/compiled/interactive_seattle_weather.vg.json +++ b/examples/compiled/interactive_seattle_weather.vg.json @@ -610,5 +610,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_splom.vg.json b/examples/compiled/interactive_splom.vg.json index 8f688c7d15a..9b5837a1fec 100644 --- a/examples/compiled/interactive_splom.vg.json +++ b/examples/compiled/interactive_splom.vg.json @@ -4637,5 +4637,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/interactive_stocks_nearest_index.vg.json b/examples/compiled/interactive_stocks_nearest_index.vg.json index f777d3801b9..1ac8a6b880f 100644 --- a/examples/compiled/interactive_stocks_nearest_index.vg.json +++ b/examples/compiled/interactive_stocks_nearest_index.vg.json @@ -301,5 +301,10 @@ } ], "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], - "config": {"style": {"text": {"align": "right", "dx": -5, "dy": 5}}} + "config": { + "style": { + "text": {"align": "right", "dx": -5, "dy": 5}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/isotype_bar_chart.vg.json b/examples/compiled/isotype_bar_chart.vg.json index 1146ff685a2..b6f6b238ad3 100644 --- a/examples/compiled/isotype_bar_chart.vg.json +++ b/examples/compiled/isotype_bar_chart.vg.json @@ -150,5 +150,10 @@ ] } ], - "config": {"style": {"cell": {"stroke": ""}}} + "config": { + "style": { + "cell": {"stroke": ""}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/isotype_bar_chart_emoji.vg.json b/examples/compiled/isotype_bar_chart_emoji.vg.json index 89be8f21294..99d5aa1d134 100644 --- a/examples/compiled/isotype_bar_chart_emoji.vg.json +++ b/examples/compiled/isotype_bar_chart_emoji.vg.json @@ -150,5 +150,10 @@ "padding": 0.5 } ], - "config": {"style": {"cell": {"stroke": ""}}} + "config": { + "style": { + "cell": {"stroke": ""}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/isotype_grid.vg.json b/examples/compiled/isotype_grid.vg.json index d234ae61f25..1f2d63747bf 100644 --- a/examples/compiled/isotype_grid.vg.json +++ b/examples/compiled/isotype_grid.vg.json @@ -484,5 +484,10 @@ "padding": 0.5 } ], - "config": {"style": {"cell": {"stroke": ""}}} + "config": { + "style": { + "cell": {"stroke": ""}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/joinaggregate_mean_difference.vg.json b/examples/compiled/joinaggregate_mean_difference.vg.json index d3592f878ac..8e0c1634d98 100644 --- a/examples/compiled/joinaggregate_mean_difference.vg.json +++ b/examples/compiled/joinaggregate_mean_difference.vg.json @@ -160,5 +160,6 @@ "title": "Title", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/joinaggregate_mean_difference_by_year.png b/examples/compiled/joinaggregate_mean_difference_by_year.png index 3c437b0a94e..5b08a994010 100644 Binary files a/examples/compiled/joinaggregate_mean_difference_by_year.png and b/examples/compiled/joinaggregate_mean_difference_by_year.png differ diff --git a/examples/compiled/joinaggregate_mean_difference_by_year.svg b/examples/compiled/joinaggregate_mean_difference_by_year.svg index 3311d20410f..0857afbef0e 100644 --- a/examples/compiled/joinaggregate_mean_difference_by_year.svg +++ b/examples/compiled/joinaggregate_mean_difference_by_year.svg @@ -1 +1 @@ -0246810IMDB RatingAmerican History XCidade de DeusFight ClubInceptionMementoPulp FictionRaiders of the Lost ArkRequiem for a DreamSchindler's ListShichinin no samuraiThe Dark KnightThe Lord of the Rings: The Fellow…The Lord of the Rings: The Return…The Lord of the Rings: The Two To…The MatrixThe Shawshank RedemptionThe Silence of the LambsTitle \ No newline at end of file +0246810IMDB RatingAmerican History XCidade de DeusFight ClubInceptionMementoPulp FictionRaiders of the Lost ArkRequiem for a DreamSchindler's ListShichinin no samuraiThe Dark KnightThe Lord of the Rings: The Fellow…The Lord of the Rings: The Return…The Lord of the Rings: The Two To…The MatrixThe Shawshank RedemptionThe Silence of the LambsTitle \ No newline at end of file diff --git a/examples/compiled/joinaggregate_mean_difference_by_year.vg.json b/examples/compiled/joinaggregate_mean_difference_by_year.vg.json index 611937a644a..4d5a3bbbff7 100644 --- a/examples/compiled/joinaggregate_mean_difference_by_year.vg.json +++ b/examples/compiled/joinaggregate_mean_difference_by_year.vg.json @@ -101,10 +101,10 @@ "description": { "signal": "\"AverageYearRating: \" + (format(datum[\"AverageYearRating\"], \"\")) + \"; Title: \" + (isValid(datum[\"Title\"]) ? datum[\"Title\"] : \"\"+datum[\"Title\"])" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "AverageYearRating"}, - "yc": {"scale": "y", "field": "Title", "band": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "y": {"scale": "y", "field": "Title", "band": 0.125}, + "height": {"signal": "0.75 * bandwidth('y')"} } } } @@ -171,5 +171,6 @@ "title": "Title", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/joinaggregate_percent_of_total.vg.json b/examples/compiled/joinaggregate_percent_of_total.vg.json index 2258fe7f1df..db19edd3c78 100644 --- a/examples/compiled/joinaggregate_percent_of_total.vg.json +++ b/examples/compiled/joinaggregate_percent_of_total.vg.json @@ -127,5 +127,6 @@ "title": "Activity", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/joinaggregate_residual_graph.vg.json b/examples/compiled/joinaggregate_residual_graph.vg.json index 0071eaa8d0d..4f8b46633de 100644 --- a/examples/compiled/joinaggregate_residual_graph.vg.json +++ b/examples/compiled/joinaggregate_residual_graph.vg.json @@ -137,5 +137,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "encode": {"gradient": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_arc_label.vg.json b/examples/compiled/layer_arc_label.vg.json index 558ba6bfe2b..231f882064b 100644 --- a/examples/compiled/layer_arc_label.vg.json +++ b/examples/compiled/layer_arc_label.vg.json @@ -132,5 +132,6 @@ }, "range": "category" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_annotations.vg.json b/examples/compiled/layer_bar_annotations.vg.json index 0c4bd6ee71d..7afa52f71db 100644 --- a/examples/compiled/layer_bar_annotations.vg.json +++ b/examples/compiled/layer_bar_annotations.vg.json @@ -202,5 +202,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_circle_grouped.vg.json b/examples/compiled/layer_bar_circle_grouped.vg.json index 4de4dea6d26..c4374d002c8 100644 --- a/examples/compiled/layer_bar_circle_grouped.vg.json +++ b/examples/compiled/layer_bar_circle_grouped.vg.json @@ -194,5 +194,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_fruit.vg.json b/examples/compiled/layer_bar_fruit.vg.json index e7d01668fb4..77109270744 100644 --- a/examples/compiled/layer_bar_fruit.vg.json +++ b/examples/compiled/layer_bar_fruit.vg.json @@ -164,5 +164,6 @@ "fill": "color", "gradientLength": {"signal": "clamp(height, 64, 200)"} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_grouped_line_ungrouped.vg.json b/examples/compiled/layer_bar_grouped_line_ungrouped.vg.json index bd2e4f27df6..ff5c226f5d7 100644 --- a/examples/compiled/layer_bar_grouped_line_ungrouped.vg.json +++ b/examples/compiled/layer_bar_grouped_line_ungrouped.vg.json @@ -183,5 +183,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "group"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "group"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_labels.vg.json b/examples/compiled/layer_bar_labels.vg.json index 31d397cd710..2fca7cc7ede 100644 --- a/examples/compiled/layer_bar_labels.vg.json +++ b/examples/compiled/layer_bar_labels.vg.json @@ -136,5 +136,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "a", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_labels_grey.vg.json b/examples/compiled/layer_bar_labels_grey.vg.json index 8b777564831..3eb5760a549 100644 --- a/examples/compiled/layer_bar_labels_grey.vg.json +++ b/examples/compiled/layer_bar_labels_grey.vg.json @@ -127,5 +127,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_labels_style.vg.json b/examples/compiled/layer_bar_labels_style.vg.json index dd0169cc9c8..c4860d8ec2d 100644 --- a/examples/compiled/layer_bar_labels_style.vg.json +++ b/examples/compiled/layer_bar_labels_style.vg.json @@ -141,6 +141,9 @@ {"scale": "y", "orient": "left", "grid": false, "title": "a", "zindex": 0} ], "config": { - "style": {"label": {"align": "left", "baseline": "middle", "dx": 3}} + "style": { + "label": {"align": "left", "baseline": "middle", "dx": 3}, + "tick": {"discreteBandSize": {"band": 0.75}} + } } } diff --git a/examples/compiled/layer_bar_line.vg.json b/examples/compiled/layer_bar_line.vg.json index 0fa026c72d6..81282aceb57 100644 --- a/examples/compiled/layer_bar_line.vg.json +++ b/examples/compiled/layer_bar_line.vg.json @@ -150,5 +150,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_line_union.vg.json b/examples/compiled/layer_bar_line_union.vg.json index 3cf4f28bc23..2e94da0ebdb 100644 --- a/examples/compiled/layer_bar_line_union.vg.json +++ b/examples/compiled/layer_bar_line_union.vg.json @@ -150,5 +150,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_month.vg.json b/examples/compiled/layer_bar_month.vg.json index 98c23e75f6c..817c8d88b12 100644 --- a/examples/compiled/layer_bar_month.vg.json +++ b/examples/compiled/layer_bar_month.vg.json @@ -159,5 +159,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_bar_tick_datum_grouped.png b/examples/compiled/layer_bar_tick_datum_grouped.png index 511353b2e18..0f05babec22 100644 Binary files a/examples/compiled/layer_bar_tick_datum_grouped.png and b/examples/compiled/layer_bar_tick_datum_grouped.png differ diff --git a/examples/compiled/layer_bar_tick_datum_grouped.svg b/examples/compiled/layer_bar_tick_datum_grouped.svg index 80c0081f37d..7213124b99d 100644 --- a/examples/compiled/layer_bar_tick_datum_grouped.svg +++ b/examples/compiled/layer_bar_tick_datum_grouped.svg @@ -1 +1 @@ -34568Cylinders05101520Mean of AccelerationEuropeJapanUSAOrigin \ No newline at end of file +34568Cylinders05101520Mean of AccelerationEuropeJapanUSAOrigin \ No newline at end of file diff --git a/examples/compiled/layer_bar_tick_datum_grouped.vg.json b/examples/compiled/layer_bar_tick_datum_grouped.vg.json index 335a19cc9d2..a099e80591f 100644 --- a/examples/compiled/layer_bar_tick_datum_grouped.vg.json +++ b/examples/compiled/layer_bar_tick_datum_grouped.vg.json @@ -72,14 +72,15 @@ "description": { "signal": "\"Cylinders: \" + (isValid(datum[\"Cylinders\"]) ? datum[\"Cylinders\"] : \"\"+datum[\"Cylinders\"]) + \"; Origin: \" + (isValid(datum[\"Origin\"]) ? datum[\"Origin\"] : \"\"+datum[\"Origin\"])" }, - "xc": { + "height": {"value": 1}, + "x": { "scale": "x", "field": "Cylinders", - "offset": {"scale": "xOffset", "field": "Origin", "band": 0.5} + "offset": {"scale": "xOffset", "field": "Origin"}, + "band": 0.125 }, - "yc": {"scale": "y", "value": 10}, - "width": {"value": 15}, - "height": {"value": 1} + "width": {"signal": "0.75 * bandwidth('xOffset')"}, + "yc": {"scale": "y", "value": 10} } } } @@ -163,5 +164,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_boxplot_circle.vg.json b/examples/compiled/layer_boxplot_circle.vg.json index bf1b80bc528..b2051fd14c5 100644 --- a/examples/compiled/layer_boxplot_circle.vg.json +++ b/examples/compiled/layer_boxplot_circle.vg.json @@ -191,10 +191,10 @@ "tooltip": { "signal": "{\"Max of population\": format(datum[\"max_people\"], \"\"), \"Q3 of population\": format(datum[\"upper_box_people\"], \"\"), \"Median of population\": format(datum[\"mid_box_people\"], \"\"), \"Q1 of population\": format(datum[\"lower_box_people\"], \"\"), \"Min of population\": format(datum[\"min_people\"], \"\"), \"age\": isValid(datum[\"age\"]) ? datum[\"age\"] : \"\"+datum[\"age\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "mid_box_people"}, "yc": {"scale": "y", "field": "age", "band": 0.5}, - "height": {"value": 14}, - "width": {"value": 1} + "height": {"value": 14} } } }, @@ -282,5 +282,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "title": "age", "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_candlestick.vg.json b/examples/compiled/layer_candlestick.vg.json index 22991e40bf1..adf974322ea 100644 --- a/examples/compiled/layer_candlestick.vg.json +++ b/examples/compiled/layer_candlestick.vg.json @@ -158,5 +158,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_circle_independent_color.vg.json b/examples/compiled/layer_circle_independent_color.vg.json index a1a0b6fa03f..84c27ea7101 100644 --- a/examples/compiled/layer_circle_independent_color.vg.json +++ b/examples/compiled/layer_circle_independent_color.vg.json @@ -224,5 +224,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_color_legend_left.vg.json b/examples/compiled/layer_color_legend_left.vg.json index 95be130ec00..23d14d9098b 100644 --- a/examples/compiled/layer_color_legend_left.vg.json +++ b/examples/compiled/layer_color_legend_left.vg.json @@ -178,5 +178,6 @@ "fill": "color", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_cumulative_histogram.vg.json b/examples/compiled/layer_cumulative_histogram.vg.json index a30fb31f9b9..662d59b021d 100644 --- a/examples/compiled/layer_cumulative_histogram.vg.json +++ b/examples/compiled/layer_cumulative_histogram.vg.json @@ -210,5 +210,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_dual_axis.vg.json b/examples/compiled/layer_dual_axis.vg.json index 191712cbb50..02415cedf8a 100644 --- a/examples/compiled/layer_dual_axis.vg.json +++ b/examples/compiled/layer_dual_axis.vg.json @@ -165,5 +165,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_falkensee.vg.json b/examples/compiled/layer_falkensee.vg.json index 1a44900ffb3..24267e5382c 100644 --- a/examples/compiled/layer_falkensee.vg.json +++ b/examples/compiled/layer_falkensee.vg.json @@ -268,5 +268,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "event"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "event"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_histogram.vg.json b/examples/compiled/layer_histogram.vg.json index 256d7008e41..a1164db2798 100644 --- a/examples/compiled/layer_histogram.vg.json +++ b/examples/compiled/layer_histogram.vg.json @@ -185,5 +185,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_histogram_global_mean.vg.json b/examples/compiled/layer_histogram_global_mean.vg.json index 126d24ebd1f..d8e31eda4fb 100644 --- a/examples/compiled/layer_histogram_global_mean.vg.json +++ b/examples/compiled/layer_histogram_global_mean.vg.json @@ -172,5 +172,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_likert.png b/examples/compiled/layer_likert.png index 27a90920e2a..d608c6703cc 100644 Binary files a/examples/compiled/layer_likert.png and b/examples/compiled/layer_likert.png differ diff --git a/examples/compiled/layer_likert.svg b/examples/compiled/layer_likert.svg index 2f394163746..c97c9970163 100644 --- a/examples/compiled/layer_likert.svg +++ b/examples/compiled/layer_likert.svg @@ -1 +1 @@ -12345Identify Errors:Fix Errors:Easier to Fix:Faster to Fix:Easier on Phone:Easier on Tablet:Device Preference:EasyEasyToolbarToolbarToolbarToolbarPhoneHardHardGestureGestureGestureGestureTablet246810Number of RatingsQuestionnaire Ratings \ No newline at end of file +12345Identify Errors:Fix Errors:Easier to Fix:Faster to Fix:Easier on Phone:Easier on Tablet:Device Preference:EasyEasyToolbarToolbarToolbarToolbarPhoneHardHardGestureGestureGestureGestureTablet246810Number of RatingsQuestionnaire Ratings \ No newline at end of file diff --git a/examples/compiled/layer_likert.vg.json b/examples/compiled/layer_likert.vg.json index 2de2020abaa..dce1b81233e 100644 --- a/examples/compiled/layer_likert.vg.json +++ b/examples/compiled/layer_likert.vg.json @@ -290,10 +290,10 @@ "description": { "signal": "\"median: \" + (format(datum[\"median\"], \"\")) + \"; name: \" + (isValid(datum[\"name\"]) ? datum[\"name\"] : \"\"+datum[\"name\"])" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "median"}, "yc": {"scale": "y", "field": "name"}, - "height": {"value": 15}, - "width": {"value": 1} + "height": {"value": 18} } } }, @@ -419,5 +419,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_co2_concentration.vg.json b/examples/compiled/layer_line_co2_concentration.vg.json index 918d32981ea..3fca0960053 100644 --- a/examples/compiled/layer_line_co2_concentration.vg.json +++ b/examples/compiled/layer_line_co2_concentration.vg.json @@ -239,5 +239,10 @@ "zindex": 0 } ], - "config": {"style": {"text": {"align": "left", "dx": 3, "dy": 1}}} + "config": { + "style": { + "text": {"align": "left", "dx": 3, "dy": 1}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/layer_line_color_rule.vg.json b/examples/compiled/layer_line_color_rule.vg.json index 31098684865..0e39b5d2038 100644 --- a/examples/compiled/layer_line_color_rule.vg.json +++ b/examples/compiled/layer_line_color_rule.vg.json @@ -171,5 +171,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_datum_rule.vg.json b/examples/compiled/layer_line_datum_rule.vg.json index b2695436ba5..5672d0e5c2c 100644 --- a/examples/compiled/layer_line_datum_rule.vg.json +++ b/examples/compiled/layer_line_datum_rule.vg.json @@ -141,5 +141,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_datum_rule_datetime.vg.json b/examples/compiled/layer_line_datum_rule_datetime.vg.json index 552fb5e900d..3b0b842eea6 100644 --- a/examples/compiled/layer_line_datum_rule_datetime.vg.json +++ b/examples/compiled/layer_line_datum_rule_datetime.vg.json @@ -146,5 +146,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.vg.json b/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.vg.json index 29179e6ef36..ea3e41f05b4 100644 --- a/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.vg.json +++ b/examples/compiled/layer_line_errorband_2d_horizontal_borders_strokedash.vg.json @@ -212,5 +212,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_errorband_ci.vg.json b/examples/compiled/layer_line_errorband_ci.vg.json index 8a395aa9889..9098a564ed0 100644 --- a/examples/compiled/layer_line_errorband_ci.vg.json +++ b/examples/compiled/layer_line_errorband_ci.vg.json @@ -166,5 +166,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_errorband_pre_aggregated.vg.json b/examples/compiled/layer_line_errorband_pre_aggregated.vg.json index a77d9a9b947..0ae200c590c 100644 --- a/examples/compiled/layer_line_errorband_pre_aggregated.vg.json +++ b/examples/compiled/layer_line_errorband_pre_aggregated.vg.json @@ -190,5 +190,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_mean_point_raw.vg.json b/examples/compiled/layer_line_mean_point_raw.vg.json index 9d7abba5d93..4a830a1dc17 100644 --- a/examples/compiled/layer_line_mean_point_raw.vg.json +++ b/examples/compiled/layer_line_mean_point_raw.vg.json @@ -169,5 +169,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_rolling_mean_point_raw.vg.json b/examples/compiled/layer_line_rolling_mean_point_raw.vg.json index b17cab89e23..e89e8995ffb 100644 --- a/examples/compiled/layer_line_rolling_mean_point_raw.vg.json +++ b/examples/compiled/layer_line_rolling_mean_point_raw.vg.json @@ -150,5 +150,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_line_window.vg.json b/examples/compiled/layer_line_window.vg.json index fa1af2b9a5d..e55255d5e55 100644 --- a/examples/compiled/layer_line_window.vg.json +++ b/examples/compiled/layer_line_window.vg.json @@ -617,5 +617,6 @@ "stroke": "color", "symbolType": "stroke" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_overlay.vg.json b/examples/compiled/layer_overlay.vg.json index 2e4339261c8..bcaf55c2966 100644 --- a/examples/compiled/layer_overlay.vg.json +++ b/examples/compiled/layer_overlay.vg.json @@ -190,5 +190,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_1d_horizontal.vg.json b/examples/compiled/layer_point_errorbar_1d_horizontal.vg.json index 306057e4fde..a357f69563c 100644 --- a/examples/compiled/layer_point_errorbar_1d_horizontal.vg.json +++ b/examples/compiled/layer_point_errorbar_1d_horizontal.vg.json @@ -131,5 +131,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_1d_vertical.vg.json b/examples/compiled/layer_point_errorbar_1d_vertical.vg.json index 50011daa626..17b6d4e31ac 100644 --- a/examples/compiled/layer_point_errorbar_1d_vertical.vg.json +++ b/examples/compiled/layer_point_errorbar_1d_vertical.vg.json @@ -130,5 +130,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_2d_horizontal.vg.json b/examples/compiled/layer_point_errorbar_2d_horizontal.vg.json index 672ec336395..97b6b77cad3 100644 --- a/examples/compiled/layer_point_errorbar_2d_horizontal.vg.json +++ b/examples/compiled/layer_point_errorbar_2d_horizontal.vg.json @@ -156,5 +156,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_2d_horizontal_ci.vg.json b/examples/compiled/layer_point_errorbar_2d_horizontal_ci.vg.json index be00cb942bf..5780000afba 100644 --- a/examples/compiled/layer_point_errorbar_2d_horizontal_ci.vg.json +++ b/examples/compiled/layer_point_errorbar_2d_horizontal_ci.vg.json @@ -146,5 +146,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_2d_horizontal_color_encoding.vg.json b/examples/compiled/layer_point_errorbar_2d_horizontal_color_encoding.vg.json index eea7d71aefa..699050749b1 100644 --- a/examples/compiled/layer_point_errorbar_2d_horizontal_color_encoding.vg.json +++ b/examples/compiled/layer_point_errorbar_2d_horizontal_color_encoding.vg.json @@ -84,10 +84,10 @@ "tooltip": { "signal": "{\"Mean of yield\": format(datum[\"center_yield\"], \"\"), \"Mean + stderr of yield\": format(datum[\"upper_yield\"], \"\"), \"Mean - stderr of yield\": format(datum[\"lower_yield\"], \"\"), \"variety\": isValid(datum[\"variety\"]) ? datum[\"variety\"] : \"\"+datum[\"variety\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "lower_yield"}, - "yc": {"scale": "y", "field": "variety", "band": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "y": {"scale": "y", "field": "variety", "band": 0.125}, + "height": {"signal": "0.75 * bandwidth('y')"} } } }, @@ -104,10 +104,10 @@ "tooltip": { "signal": "{\"Mean of yield\": format(datum[\"center_yield\"], \"\"), \"Mean + stderr of yield\": format(datum[\"upper_yield\"], \"\"), \"Mean - stderr of yield\": format(datum[\"lower_yield\"], \"\"), \"variety\": isValid(datum[\"variety\"]) ? datum[\"variety\"] : \"\"+datum[\"variety\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "upper_yield"}, - "yc": {"scale": "y", "field": "variety", "band": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "y": {"scale": "y", "field": "variety", "band": 0.125}, + "height": {"signal": "0.75 * bandwidth('y')"} } } }, @@ -214,5 +214,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_2d_horizontal_custom_ticks.vg.json b/examples/compiled/layer_point_errorbar_2d_horizontal_custom_ticks.vg.json index b36cf09ebf2..9eb2472b0b9 100644 --- a/examples/compiled/layer_point_errorbar_2d_horizontal_custom_ticks.vg.json +++ b/examples/compiled/layer_point_errorbar_2d_horizontal_custom_ticks.vg.json @@ -84,10 +84,10 @@ "tooltip": { "signal": "{\"Mean of yield\": format(datum[\"center_yield\"], \"\"), \"Mean + stderr of yield\": format(datum[\"upper_yield\"], \"\"), \"Mean - stderr of yield\": format(datum[\"lower_yield\"], \"\"), \"variety\": isValid(datum[\"variety\"]) ? datum[\"variety\"] : \"\"+datum[\"variety\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "lower_yield"}, - "yc": {"scale": "y", "field": "variety", "band": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "y": {"scale": "y", "field": "variety", "band": 0.125}, + "height": {"signal": "0.75 * bandwidth('y')"} } } }, @@ -104,10 +104,10 @@ "tooltip": { "signal": "{\"Mean of yield\": format(datum[\"center_yield\"], \"\"), \"Mean + stderr of yield\": format(datum[\"upper_yield\"], \"\"), \"Mean - stderr of yield\": format(datum[\"lower_yield\"], \"\"), \"variety\": isValid(datum[\"variety\"]) ? datum[\"variety\"] : \"\"+datum[\"variety\"]}" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "upper_yield"}, - "yc": {"scale": "y", "field": "variety", "band": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "y": {"scale": "y", "field": "variety", "band": 0.125}, + "height": {"signal": "0.75 * bandwidth('y')"} } } }, @@ -214,5 +214,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_2d_horizontal_iqr.vg.json b/examples/compiled/layer_point_errorbar_2d_horizontal_iqr.vg.json index e7e4e262126..33d0f0e0e0e 100644 --- a/examples/compiled/layer_point_errorbar_2d_horizontal_iqr.vg.json +++ b/examples/compiled/layer_point_errorbar_2d_horizontal_iqr.vg.json @@ -146,5 +146,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_2d_horizontal_stdev.vg.json b/examples/compiled/layer_point_errorbar_2d_horizontal_stdev.vg.json index 76ec714e4b1..53fc0d26be3 100644 --- a/examples/compiled/layer_point_errorbar_2d_horizontal_stdev.vg.json +++ b/examples/compiled/layer_point_errorbar_2d_horizontal_stdev.vg.json @@ -156,5 +156,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_2d_vertical.vg.json b/examples/compiled/layer_point_errorbar_2d_vertical.vg.json index 40ebf0cb7bd..5605aa9ceec 100644 --- a/examples/compiled/layer_point_errorbar_2d_vertical.vg.json +++ b/examples/compiled/layer_point_errorbar_2d_vertical.vg.json @@ -158,5 +158,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_ci.vg.json b/examples/compiled/layer_point_errorbar_ci.vg.json index b315247154f..bca2c64f098 100644 --- a/examples/compiled/layer_point_errorbar_ci.vg.json +++ b/examples/compiled/layer_point_errorbar_ci.vg.json @@ -146,5 +146,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_pre_aggregated_asymmetric_error.vg.json b/examples/compiled/layer_point_errorbar_pre_aggregated_asymmetric_error.vg.json index c4920cf063a..968db6bba20 100644 --- a/examples/compiled/layer_point_errorbar_pre_aggregated_asymmetric_error.vg.json +++ b/examples/compiled/layer_point_errorbar_pre_aggregated_asymmetric_error.vg.json @@ -172,5 +172,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_pre_aggregated_symmetric_error.vg.json b/examples/compiled/layer_point_errorbar_pre_aggregated_symmetric_error.vg.json index 05fc1ffb53e..1e2f4d05c53 100644 --- a/examples/compiled/layer_point_errorbar_pre_aggregated_symmetric_error.vg.json +++ b/examples/compiled/layer_point_errorbar_pre_aggregated_symmetric_error.vg.json @@ -160,5 +160,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_pre_aggregated_upper_lower.vg.json b/examples/compiled/layer_point_errorbar_pre_aggregated_upper_lower.vg.json index 7ee08331815..dd745d49c99 100644 --- a/examples/compiled/layer_point_errorbar_pre_aggregated_upper_lower.vg.json +++ b/examples/compiled/layer_point_errorbar_pre_aggregated_upper_lower.vg.json @@ -172,5 +172,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_errorbar_stdev.vg.json b/examples/compiled/layer_point_errorbar_stdev.vg.json index a94650dfa71..9c8a53f2be7 100644 --- a/examples/compiled/layer_point_errorbar_stdev.vg.json +++ b/examples/compiled/layer_point_errorbar_stdev.vg.json @@ -156,5 +156,6 @@ "title": "variety", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_line_loess.vg.json b/examples/compiled/layer_point_line_loess.vg.json index 242d3145543..8c3ec55df89 100644 --- a/examples/compiled/layer_point_line_loess.vg.json +++ b/examples/compiled/layer_point_line_loess.vg.json @@ -146,5 +146,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_point_line_regression.vg.json b/examples/compiled/layer_point_line_regression.vg.json index 1343f87402c..ccbf5879cb7 100644 --- a/examples/compiled/layer_point_line_regression.vg.json +++ b/examples/compiled/layer_point_line_regression.vg.json @@ -185,5 +185,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_precipitation_mean.vg.json b/examples/compiled/layer_precipitation_mean.vg.json index 6d2e5e4be26..e9a0ca7911d 100644 --- a/examples/compiled/layer_precipitation_mean.vg.json +++ b/examples/compiled/layer_precipitation_mean.vg.json @@ -159,5 +159,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_ranged_dot.vg.json b/examples/compiled/layer_ranged_dot.vg.json index 703795a438e..4fae6cf2ea0 100644 --- a/examples/compiled/layer_ranged_dot.vg.json +++ b/examples/compiled/layer_ranged_dot.vg.json @@ -181,5 +181,6 @@ "symbolType": "circle", "encode": {"symbols": {"update": {"opacity": {"value": 1}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_rect_extent.vg.json b/examples/compiled/layer_rect_extent.vg.json index c39f0deb411..a477ab72ac1 100644 --- a/examples/compiled/layer_rect_extent.vg.json +++ b/examples/compiled/layer_rect_extent.vg.json @@ -203,5 +203,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_scatter_errorband_1D_stdev_global_mean.vg.json b/examples/compiled/layer_scatter_errorband_1D_stdev_global_mean.vg.json index bc686f03d5e..6543d67203a 100644 --- a/examples/compiled/layer_scatter_errorband_1D_stdev_global_mean.vg.json +++ b/examples/compiled/layer_scatter_errorband_1D_stdev_global_mean.vg.json @@ -203,5 +203,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_scatter_errorband_1d_stdev.vg.json b/examples/compiled/layer_scatter_errorband_1d_stdev.vg.json index e19f0d82521..effb2f2f9f9 100644 --- a/examples/compiled/layer_scatter_errorband_1d_stdev.vg.json +++ b/examples/compiled/layer_scatter_errorband_1d_stdev.vg.json @@ -160,5 +160,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_single_color.vg.json b/examples/compiled/layer_single_color.vg.json index 8b1628f8f8f..8eb533b5ab8 100644 --- a/examples/compiled/layer_single_color.vg.json +++ b/examples/compiled/layer_single_color.vg.json @@ -124,5 +124,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/layer_text_heatmap.vg.json b/examples/compiled/layer_text_heatmap.vg.json index 4f005e6d2d8..167672df668 100644 --- a/examples/compiled/layer_text_heatmap.vg.json +++ b/examples/compiled/layer_text_heatmap.vg.json @@ -168,5 +168,8 @@ "fill": "color" } ], - "config": {"axis": {"grid": true, "tickBand": "extent"}} + "config": { + "axis": {"grid": true, "tickBand": "extent"}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/layer_text_heatmap_joinaggregate.vg.json b/examples/compiled/layer_text_heatmap_joinaggregate.vg.json index 030416d4231..61dd2846ac0 100644 --- a/examples/compiled/layer_text_heatmap_joinaggregate.vg.json +++ b/examples/compiled/layer_text_heatmap_joinaggregate.vg.json @@ -182,5 +182,8 @@ "fill": "layer_0_color" } ], - "config": {"axis": {"grid": true, "tickBand": "extent"}} + "config": { + "axis": {"grid": true, "tickBand": "extent"}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/layer_timeunit_rect.vg.json b/examples/compiled/layer_timeunit_rect.vg.json index 48330e61127..d506a38ff7d 100644 --- a/examples/compiled/layer_timeunit_rect.vg.json +++ b/examples/compiled/layer_timeunit_rect.vg.json @@ -196,5 +196,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line.vg.json b/examples/compiled/line.vg.json index 5b3fae1810c..b12909d80a3 100644 --- a/examples/compiled/line.vg.json +++ b/examples/compiled/line.vg.json @@ -100,5 +100,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_bump.vg.json b/examples/compiled/line_bump.vg.json index d3a55459e62..d5074997e87 100644 --- a/examples/compiled/line_bump.vg.json +++ b/examples/compiled/line_bump.vg.json @@ -146,5 +146,6 @@ "title": "result", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_calculate.vg.json b/examples/compiled/line_calculate.vg.json index 98d125d2f46..a2cc2eefed8 100644 --- a/examples/compiled/line_calculate.vg.json +++ b/examples/compiled/line_calculate.vg.json @@ -125,5 +125,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_color.vg.json b/examples/compiled/line_color.vg.json index 57a082f9601..d0ea36fe353 100644 --- a/examples/compiled/line_color.vg.json +++ b/examples/compiled/line_color.vg.json @@ -125,5 +125,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_color_binned.vg.json b/examples/compiled/line_color_binned.vg.json index 32a9cfc2d5b..b7c9ef72966 100644 --- a/examples/compiled/line_color_binned.vg.json +++ b/examples/compiled/line_color_binned.vg.json @@ -164,5 +164,6 @@ "symbolType": "stroke", "title": "Acceleration (binned)" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_color_halo.vg.json b/examples/compiled/line_color_halo.vg.json index 33ae5020741..5f6d19032b9 100644 --- a/examples/compiled/line_color_halo.vg.json +++ b/examples/compiled/line_color_halo.vg.json @@ -303,5 +303,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "stroke", "symbolType": "stroke"}] + "legends": [{"stroke": "stroke", "symbolType": "stroke"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_color_label.vg.json b/examples/compiled/line_color_label.vg.json index eb41bb5820c..af6b57135fe 100644 --- a/examples/compiled/line_color_label.vg.json +++ b/examples/compiled/line_color_label.vg.json @@ -199,5 +199,10 @@ "zindex": 0 } ], - "config": {"style": {"cell": {"stroke": null}}} + "config": { + "style": { + "cell": {"stroke": null}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/line_concat_facet.vg.json b/examples/compiled/line_concat_facet.vg.json index f47152ce696..9e95e31489f 100644 --- a/examples/compiled/line_concat_facet.vg.json +++ b/examples/compiled/line_concat_facet.vg.json @@ -292,5 +292,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_conditional_axis.vg.json b/examples/compiled/line_conditional_axis.vg.json index 355952bffde..4e813897e40 100644 --- a/examples/compiled/line_conditional_axis.vg.json +++ b/examples/compiled/line_conditional_axis.vg.json @@ -144,5 +144,8 @@ "zindex": 0 } ], - "config": {"axis": {"domainColor": "#ddd", "tickColor": "#ddd"}} + "config": { + "axis": {"domainColor": "#ddd", "tickColor": "#ddd"}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/line_conditional_axis_config.vg.json b/examples/compiled/line_conditional_axis_config.vg.json index e26970e5a63..f89fd9a32ee 100644 --- a/examples/compiled/line_conditional_axis_config.vg.json +++ b/examples/compiled/line_conditional_axis_config.vg.json @@ -170,6 +170,7 @@ }, "value": [2, 2] } - } + }, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} } } diff --git a/examples/compiled/line_dashed_part.vg.json b/examples/compiled/line_dashed_part.vg.json index 646f35c0fa4..3ec7e1471ca 100644 --- a/examples/compiled/line_dashed_part.vg.json +++ b/examples/compiled/line_dashed_part.vg.json @@ -133,5 +133,6 @@ "title": "predicted", "encode": {"symbols": {"update": {"stroke": {"value": "#4c78a8"}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_detail.vg.json b/examples/compiled/line_detail.vg.json index d8af62b9eff..1e6731e8531 100644 --- a/examples/compiled/line_detail.vg.json +++ b/examples/compiled/line_detail.vg.json @@ -118,5 +118,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_domainminmax.vg.json b/examples/compiled/line_domainminmax.vg.json index 6302e700228..d5059f06cca 100644 --- a/examples/compiled/line_domainminmax.vg.json +++ b/examples/compiled/line_domainminmax.vg.json @@ -102,5 +102,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_encoding_impute_keyvals.vg.json b/examples/compiled/line_encoding_impute_keyvals.vg.json index f9c382a8113..cd236fc0bf7 100644 --- a/examples/compiled/line_encoding_impute_keyvals.vg.json +++ b/examples/compiled/line_encoding_impute_keyvals.vg.json @@ -149,5 +149,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_encoding_impute_keyvals_sequence.vg.json b/examples/compiled/line_encoding_impute_keyvals_sequence.vg.json index e89444a2377..32aedcc40e7 100644 --- a/examples/compiled/line_encoding_impute_keyvals_sequence.vg.json +++ b/examples/compiled/line_encoding_impute_keyvals_sequence.vg.json @@ -149,5 +149,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_impute_frame.vg.json b/examples/compiled/line_impute_frame.vg.json index ad1d1f0fa9e..727b49876d2 100644 --- a/examples/compiled/line_impute_frame.vg.json +++ b/examples/compiled/line_impute_frame.vg.json @@ -162,5 +162,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_impute_keyvals.vg.json b/examples/compiled/line_impute_keyvals.vg.json index f9c382a8113..cd236fc0bf7 100644 --- a/examples/compiled/line_impute_keyvals.vg.json +++ b/examples/compiled/line_impute_keyvals.vg.json @@ -149,5 +149,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_impute_method.vg.json b/examples/compiled/line_impute_method.vg.json index 5e03f06b586..c810b2319f8 100644 --- a/examples/compiled/line_impute_method.vg.json +++ b/examples/compiled/line_impute_method.vg.json @@ -162,5 +162,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_impute_transform_frame.vg.json b/examples/compiled/line_impute_transform_frame.vg.json index ad1d1f0fa9e..727b49876d2 100644 --- a/examples/compiled/line_impute_transform_frame.vg.json +++ b/examples/compiled/line_impute_transform_frame.vg.json @@ -162,5 +162,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_impute_transform_value.vg.json b/examples/compiled/line_impute_transform_value.vg.json index e3518360f5e..938f51a28c5 100644 --- a/examples/compiled/line_impute_transform_value.vg.json +++ b/examples/compiled/line_impute_transform_value.vg.json @@ -148,5 +148,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_impute_value.vg.json b/examples/compiled/line_impute_value.vg.json index e3518360f5e..938f51a28c5 100644 --- a/examples/compiled/line_impute_value.vg.json +++ b/examples/compiled/line_impute_value.vg.json @@ -148,5 +148,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_inside_domain_using_clip.vg.json b/examples/compiled/line_inside_domain_using_clip.vg.json index 2627e228c1c..2321ea0d2e6 100644 --- a/examples/compiled/line_inside_domain_using_clip.vg.json +++ b/examples/compiled/line_inside_domain_using_clip.vg.json @@ -116,5 +116,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_inside_domain_using_transform.vg.json b/examples/compiled/line_inside_domain_using_transform.vg.json index 3fbbac500eb..ece6daa2c65 100644 --- a/examples/compiled/line_inside_domain_using_transform.vg.json +++ b/examples/compiled/line_inside_domain_using_transform.vg.json @@ -116,5 +116,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_max_year.vg.json b/examples/compiled/line_max_year.vg.json index bdd36827fb7..80546ae5c82 100644 --- a/examples/compiled/line_max_year.vg.json +++ b/examples/compiled/line_max_year.vg.json @@ -125,5 +125,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_mean_month.vg.json b/examples/compiled/line_mean_month.vg.json index 790f2950902..5f9f1b6ad53 100644 --- a/examples/compiled/line_mean_month.vg.json +++ b/examples/compiled/line_mean_month.vg.json @@ -120,5 +120,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_mean_year.vg.json b/examples/compiled/line_mean_year.vg.json index b093367e4ee..5f6a7c8e93d 100644 --- a/examples/compiled/line_mean_year.vg.json +++ b/examples/compiled/line_mean_year.vg.json @@ -122,5 +122,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_monotone.vg.json b/examples/compiled/line_monotone.vg.json index 75411e4f356..8d9aa18d547 100644 --- a/examples/compiled/line_monotone.vg.json +++ b/examples/compiled/line_monotone.vg.json @@ -100,5 +100,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_month.vg.json b/examples/compiled/line_month.vg.json index d0834d3ca40..d757aceefad 100644 --- a/examples/compiled/line_month.vg.json +++ b/examples/compiled/line_month.vg.json @@ -121,5 +121,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_month_center_band.vg.json b/examples/compiled/line_month_center_band.vg.json index e089c38f0d7..ec5dbefe688 100644 --- a/examples/compiled/line_month_center_band.vg.json +++ b/examples/compiled/line_month_center_band.vg.json @@ -127,5 +127,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_month_center_band_offset.vg.json b/examples/compiled/line_month_center_band_offset.vg.json index c89e0175633..a583335bddd 100644 --- a/examples/compiled/line_month_center_band_offset.vg.json +++ b/examples/compiled/line_month_center_band_offset.vg.json @@ -138,5 +138,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_narrow_2year_span.vg.json b/examples/compiled/line_narrow_2year_span.vg.json index a630bc860f1..af9def3d525 100644 --- a/examples/compiled/line_narrow_2year_span.vg.json +++ b/examples/compiled/line_narrow_2year_span.vg.json @@ -129,5 +129,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_narrow_year_span.vg.json b/examples/compiled/line_narrow_year_span.vg.json index 646188b75fc..74a286ec668 100644 --- a/examples/compiled/line_narrow_year_span.vg.json +++ b/examples/compiled/line_narrow_year_span.vg.json @@ -128,5 +128,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_narrow_yearmonth_span.vg.json b/examples/compiled/line_narrow_yearmonth_span.vg.json index 1e340845755..9f83a6e55b8 100644 --- a/examples/compiled/line_narrow_yearmonth_span.vg.json +++ b/examples/compiled/line_narrow_yearmonth_span.vg.json @@ -176,5 +176,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_narrow_yearquarter_span.vg.json b/examples/compiled/line_narrow_yearquarter_span.vg.json index 53573813aaf..9683390682d 100644 --- a/examples/compiled/line_narrow_yearquarter_span.vg.json +++ b/examples/compiled/line_narrow_yearquarter_span.vg.json @@ -128,5 +128,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_outside_domain.vg.json b/examples/compiled/line_outside_domain.vg.json index 844b832a0c1..419ff8144aa 100644 --- a/examples/compiled/line_outside_domain.vg.json +++ b/examples/compiled/line_outside_domain.vg.json @@ -115,5 +115,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_overlay.vg.json b/examples/compiled/line_overlay.vg.json index 59770b2c561..60bdf2d16bc 100644 --- a/examples/compiled/line_overlay.vg.json +++ b/examples/compiled/line_overlay.vg.json @@ -201,5 +201,6 @@ "fill": "color", "encode": {"symbols": {"update": {"opacity": {"value": 1}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_overlay_stroked.vg.json b/examples/compiled/line_overlay_stroked.vg.json index 23ea58d8753..67974f55ee2 100644 --- a/examples/compiled/line_overlay_stroked.vg.json +++ b/examples/compiled/line_overlay_stroked.vg.json @@ -205,5 +205,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_params.vg.json b/examples/compiled/line_params.vg.json index 4e27aa89e6a..866f92299dd 100644 --- a/examples/compiled/line_params.vg.json +++ b/examples/compiled/line_params.vg.json @@ -161,5 +161,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_quarter_legend.vg.json b/examples/compiled/line_quarter_legend.vg.json index b8600563612..a4dd2693811 100644 --- a/examples/compiled/line_quarter_legend.vg.json +++ b/examples/compiled/line_quarter_legend.vg.json @@ -166,5 +166,6 @@ "title": "date (quarter)", "type": "symbol" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_shape_overlay.vg.json b/examples/compiled/line_shape_overlay.vg.json index c187a05a1a2..4d7cb319743 100644 --- a/examples/compiled/line_shape_overlay.vg.json +++ b/examples/compiled/line_shape_overlay.vg.json @@ -139,5 +139,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_skip_invalid.vg.json b/examples/compiled/line_skip_invalid.vg.json index bbee0e1e6c3..ed1aff5c18c 100644 --- a/examples/compiled/line_skip_invalid.vg.json +++ b/examples/compiled/line_skip_invalid.vg.json @@ -114,5 +114,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_skip_invalid_mid.vg.json b/examples/compiled/line_skip_invalid_mid.vg.json index b478abe66a4..67fde3ac3af 100644 --- a/examples/compiled/line_skip_invalid_mid.vg.json +++ b/examples/compiled/line_skip_invalid_mid.vg.json @@ -114,5 +114,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_skip_invalid_mid_cap_square.vg.json b/examples/compiled/line_skip_invalid_mid_cap_square.vg.json index 39b0515686a..b43552e222b 100644 --- a/examples/compiled/line_skip_invalid_mid_cap_square.vg.json +++ b/examples/compiled/line_skip_invalid_mid_cap_square.vg.json @@ -115,5 +115,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_skip_invalid_mid_overlay.vg.json b/examples/compiled/line_skip_invalid_mid_overlay.vg.json index d044386a9a2..0dc34ee32c9 100644 --- a/examples/compiled/line_skip_invalid_mid_overlay.vg.json +++ b/examples/compiled/line_skip_invalid_mid_overlay.vg.json @@ -152,5 +152,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_slope.vg.json b/examples/compiled/line_slope.vg.json index 866d051284f..31880b22383 100644 --- a/examples/compiled/line_slope.vg.json +++ b/examples/compiled/line_slope.vg.json @@ -127,5 +127,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "site"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "site"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_sort_axis.vg.json b/examples/compiled/line_sort_axis.vg.json index 6b99ea85ef5..6710da7f9f1 100644 --- a/examples/compiled/line_sort_axis.vg.json +++ b/examples/compiled/line_sort_axis.vg.json @@ -109,5 +109,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_step.vg.json b/examples/compiled/line_step.vg.json index e32c7a2f873..abfc37c0509 100644 --- a/examples/compiled/line_step.vg.json +++ b/examples/compiled/line_step.vg.json @@ -101,5 +101,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_strokedash.vg.json b/examples/compiled/line_strokedash.vg.json index a319d3103df..3d269ed494c 100644 --- a/examples/compiled/line_strokedash.vg.json +++ b/examples/compiled/line_strokedash.vg.json @@ -133,5 +133,6 @@ "title": "symbol", "encode": {"symbols": {"update": {"stroke": {"value": "#4c78a8"}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_timestamp_domain.vg.json b/examples/compiled/line_timestamp_domain.vg.json index 14992bd60af..01bc8e9697c 100644 --- a/examples/compiled/line_timestamp_domain.vg.json +++ b/examples/compiled/line_timestamp_domain.vg.json @@ -113,5 +113,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/line_timeunit_transform.vg.json b/examples/compiled/line_timeunit_transform.vg.json index ef6c33d1321..05bab7f9263 100644 --- a/examples/compiled/line_timeunit_transform.vg.json +++ b/examples/compiled/line_timeunit_transform.vg.json @@ -118,5 +118,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/lookup.vg.json b/examples/compiled/lookup.vg.json index 461db2d4fdd..e41616bd975 100644 --- a/examples/compiled/lookup.vg.json +++ b/examples/compiled/lookup.vg.json @@ -116,5 +116,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/nested_concat_align.vg.json b/examples/compiled/nested_concat_align.vg.json index 9ff83c64eba..fce88480687 100644 --- a/examples/compiled/nested_concat_align.vg.json +++ b/examples/compiled/nested_concat_align.vg.json @@ -594,5 +594,9 @@ "zero": true } ], - "config": {"axisX": {"titleLimit": 150}, "axisY": {"minExtent": 40}} + "config": { + "axisX": {"titleLimit": 150}, + "axisY": {"minExtent": 40}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/parallel_coordinate.vg.json b/examples/compiled/parallel_coordinate.vg.json index 657a014d4b0..aa597d1b461 100644 --- a/examples/compiled/parallel_coordinate.vg.json +++ b/examples/compiled/parallel_coordinate.vg.json @@ -151,10 +151,10 @@ "description": { "signal": "\"key: \" + (isValid(datum[\"key\"]) ? datum[\"key\"] : \"\"+datum[\"key\"])" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "key", "band": 0.5}, - "yc": {"value": 0}, "width": {"value": 8}, - "height": {"value": 1} + "yc": {"value": 0} } } }, @@ -188,10 +188,10 @@ "description": { "signal": "\"key: \" + (isValid(datum[\"key\"]) ? datum[\"key\"] : \"\"+datum[\"key\"])" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "key", "band": 0.5}, - "yc": {"value": 150}, "width": {"value": 8}, - "height": {"value": 1} + "yc": {"value": 150} } } }, @@ -225,10 +225,10 @@ "description": { "signal": "\"key: \" + (isValid(datum[\"key\"]) ? datum[\"key\"] : \"\"+datum[\"key\"])" }, + "height": {"value": 1}, "xc": {"scale": "x", "field": "key", "band": 0.5}, - "yc": {"value": 300}, "width": {"value": 8}, - "height": {"value": 1} + "yc": {"value": 300} } } } @@ -289,7 +289,7 @@ }, "style": { "label": {"baseline": "middle", "align": "right", "dx": -5}, - "tick": {"orient": "horizontal"}, + "tick": {"discreteBandSize": {"band": 0.75}, "orient": "horizontal"}, "cell": {"stroke": null} } } diff --git a/examples/compiled/param_expr.vg.json b/examples/compiled/param_expr.vg.json index 8a5e816f5e8..7f57d2de532 100644 --- a/examples/compiled/param_expr.vg.json +++ b/examples/compiled/param_expr.vg.json @@ -150,5 +150,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/param_search_input.vg.json b/examples/compiled/param_search_input.vg.json index 1825a135a66..b28ba018b4e 100644 --- a/examples/compiled/param_search_input.vg.json +++ b/examples/compiled/param_search_input.vg.json @@ -118,5 +118,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_1d.vg.json b/examples/compiled/point_1d.vg.json index f23c53c31e5..e6890dbaea1 100644 --- a/examples/compiled/point_1d.vg.json +++ b/examples/compiled/point_1d.vg.json @@ -73,5 +73,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_1d_array.vg.json b/examples/compiled/point_1d_array.vg.json index b3e45e3c402..02e7fe52699 100644 --- a/examples/compiled/point_1d_array.vg.json +++ b/examples/compiled/point_1d_array.vg.json @@ -68,5 +68,6 @@ "labelBaseline": "middle", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_2d.vg.json b/examples/compiled/point_2d.vg.json index 86c0194c926..d12f4b0cbf9 100644 --- a/examples/compiled/point_2d.vg.json +++ b/examples/compiled/point_2d.vg.json @@ -106,5 +106,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_2d_aggregate.vg.json b/examples/compiled/point_2d_aggregate.vg.json index 39bd35f1e11..d9233b2a7e9 100644 --- a/examples/compiled/point_2d_aggregate.vg.json +++ b/examples/compiled/point_2d_aggregate.vg.json @@ -115,5 +115,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_2d_array.vg.json b/examples/compiled/point_2d_array.vg.json index 4d565f22bb8..de6801d83a2 100644 --- a/examples/compiled/point_2d_array.vg.json +++ b/examples/compiled/point_2d_array.vg.json @@ -109,5 +109,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_2d_array_named.vg.json b/examples/compiled/point_2d_array_named.vg.json index 86fbe0d6ce3..119d47ca758 100644 --- a/examples/compiled/point_2d_array_named.vg.json +++ b/examples/compiled/point_2d_array_named.vg.json @@ -109,5 +109,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_2d_config_no_zero.vg.json b/examples/compiled/point_2d_config_no_zero.vg.json index b6de1de0d23..5ac1cd5afd9 100644 --- a/examples/compiled/point_2d_config_no_zero.vg.json +++ b/examples/compiled/point_2d_config_no_zero.vg.json @@ -106,5 +106,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_2d_tooltip.vg.json b/examples/compiled/point_2d_tooltip.vg.json index bbf0769acf6..c33a11b6434 100644 --- a/examples/compiled/point_2d_tooltip.vg.json +++ b/examples/compiled/point_2d_tooltip.vg.json @@ -109,5 +109,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_2d_tooltip_data.vg.json b/examples/compiled/point_2d_tooltip_data.vg.json index e0ec9419ba9..6030a357025 100644 --- a/examples/compiled/point_2d_tooltip_data.vg.json +++ b/examples/compiled/point_2d_tooltip_data.vg.json @@ -107,5 +107,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_aggregate_detail.vg.json b/examples/compiled/point_aggregate_detail.vg.json index d1e9ee06a4e..c9f3df6936e 100644 --- a/examples/compiled/point_aggregate_detail.vg.json +++ b/examples/compiled/point_aggregate_detail.vg.json @@ -112,5 +112,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_angle_windvector.vg.json b/examples/compiled/point_angle_windvector.vg.json index 5719b2b98b8..52fb4afe99e 100644 --- a/examples/compiled/point_angle_windvector.vg.json +++ b/examples/compiled/point_angle_windvector.vg.json @@ -102,5 +102,11 @@ "aria": false } ], - "config": {"aria": false, "style": {"cell": {"fill": "black"}}} + "config": { + "aria": false, + "style": { + "cell": {"fill": "black"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/point_background.vg.json b/examples/compiled/point_background.vg.json index 1050f913d39..6d66e209039 100644 --- a/examples/compiled/point_background.vg.json +++ b/examples/compiled/point_background.vg.json @@ -107,5 +107,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_binned_color.vg.json b/examples/compiled/point_binned_color.vg.json index 73e8cc2af5b..0fb3421195c 100644 --- a/examples/compiled/point_binned_color.vg.json +++ b/examples/compiled/point_binned_color.vg.json @@ -144,5 +144,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_binned_opacity.vg.json b/examples/compiled/point_binned_opacity.vg.json index e066217c861..0f889fdda08 100644 --- a/examples/compiled/point_binned_opacity.vg.json +++ b/examples/compiled/point_binned_opacity.vg.json @@ -149,5 +149,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_binned_size.vg.json b/examples/compiled/point_binned_size.vg.json index 93597563350..8c02231176f 100644 --- a/examples/compiled/point_binned_size.vg.json +++ b/examples/compiled/point_binned_size.vg.json @@ -151,5 +151,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_bubble.vg.json b/examples/compiled/point_bubble.vg.json index 25964def5bb..c5c7eb4b8cd 100644 --- a/examples/compiled/point_bubble.vg.json +++ b/examples/compiled/point_bubble.vg.json @@ -130,5 +130,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_color.vg.json b/examples/compiled/point_color.vg.json index cbd8b67d8d2..956ddaa25f9 100644 --- a/examples/compiled/point_color.vg.json +++ b/examples/compiled/point_color.vg.json @@ -126,5 +126,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_color_custom.vg.json b/examples/compiled/point_color_custom.vg.json index 1ba45469dce..29a62592238 100644 --- a/examples/compiled/point_color_custom.vg.json +++ b/examples/compiled/point_color_custom.vg.json @@ -126,5 +126,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_color_ordinal.vg.json b/examples/compiled/point_color_ordinal.vg.json index cb4297e10ae..e52b61e8e8b 100644 --- a/examples/compiled/point_color_ordinal.vg.json +++ b/examples/compiled/point_color_ordinal.vg.json @@ -127,5 +127,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_color_quantitative.vg.json b/examples/compiled/point_color_quantitative.vg.json index a2b21d78404..d0ae12ec215 100644 --- a/examples/compiled/point_color_quantitative.vg.json +++ b/examples/compiled/point_color_quantitative.vg.json @@ -121,5 +121,6 @@ "title": "Displacement", "encode": {"gradient": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_color_shape_constant.vg.json b/examples/compiled/point_color_shape_constant.vg.json index ae6d13e0811..45f53dc6d21 100644 --- a/examples/compiled/point_color_shape_constant.vg.json +++ b/examples/compiled/point_color_shape_constant.vg.json @@ -106,5 +106,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_color_with_shape.vg.json b/examples/compiled/point_color_with_shape.vg.json index 5b8dc629db7..0bc0c3d8b47 100644 --- a/examples/compiled/point_color_with_shape.vg.json +++ b/examples/compiled/point_color_with_shape.vg.json @@ -135,5 +135,6 @@ }, "shape": "shape" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_colorramp_size.vg.json b/examples/compiled/point_colorramp_size.vg.json index d4d36c99a94..35abe8283c7 100644 --- a/examples/compiled/point_colorramp_size.vg.json +++ b/examples/compiled/point_colorramp_size.vg.json @@ -131,5 +131,6 @@ "symbolType": "circle", "size": "size" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_diverging_color.vg.json b/examples/compiled/point_diverging_color.vg.json index ab0aaadb9bc..a0da7e9cc28 100644 --- a/examples/compiled/point_diverging_color.vg.json +++ b/examples/compiled/point_diverging_color.vg.json @@ -123,5 +123,6 @@ "title": "Weight_in_lbs", "encode": {"gradient": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_dot_timeunit_color.vg.json b/examples/compiled/point_dot_timeunit_color.vg.json index b1ae3e43edb..041170fed28 100644 --- a/examples/compiled/point_dot_timeunit_color.vg.json +++ b/examples/compiled/point_dot_timeunit_color.vg.json @@ -102,5 +102,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "date (year-month)" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_filled.vg.json b/examples/compiled/point_filled.vg.json index 0b7ec96697a..3029b40caaa 100644 --- a/examples/compiled/point_filled.vg.json +++ b/examples/compiled/point_filled.vg.json @@ -104,5 +104,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_grouped.vg.json b/examples/compiled/point_grouped.vg.json index fd7434a9529..124f7ad7cea 100644 --- a/examples/compiled/point_grouped.vg.json +++ b/examples/compiled/point_grouped.vg.json @@ -142,5 +142,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_href.vg.json b/examples/compiled/point_href.vg.json index 05beaf13b0a..318ece22fa7 100644 --- a/examples/compiled/point_href.vg.json +++ b/examples/compiled/point_href.vg.json @@ -139,5 +139,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_invalid_color.vg.json b/examples/compiled/point_invalid_color.vg.json index 70020d6db6e..1c9bbf3f9b8 100644 --- a/examples/compiled/point_invalid_color.vg.json +++ b/examples/compiled/point_invalid_color.vg.json @@ -113,5 +113,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_log.vg.json b/examples/compiled/point_log.vg.json index 93acc012171..0c20229f34e 100644 --- a/examples/compiled/point_log.vg.json +++ b/examples/compiled/point_log.vg.json @@ -114,5 +114,6 @@ "labelOverlap": "greedy", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_no_axis_domain_grid.vg.json b/examples/compiled/point_no_axis_domain_grid.vg.json index d2f7b2ca1bb..9d37d926f02 100644 --- a/examples/compiled/point_no_axis_domain_grid.vg.json +++ b/examples/compiled/point_no_axis_domain_grid.vg.json @@ -79,5 +79,8 @@ "zindex": 0 } ], - "config": {"axis": {"domain": false, "grid": false}} + "config": { + "axis": {"domain": false, "grid": false}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/point_offset_random.vg.json b/examples/compiled/point_offset_random.vg.json index 2bac04a707b..a7a9b0dd329 100644 --- a/examples/compiled/point_offset_random.vg.json +++ b/examples/compiled/point_offset_random.vg.json @@ -108,5 +108,6 @@ "title": "Cylinders", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_ordinal_bin_offset_random.vg.json b/examples/compiled/point_ordinal_bin_offset_random.vg.json index 87ccc18ce61..9de4e80cf7e 100644 --- a/examples/compiled/point_ordinal_bin_offset_random.vg.json +++ b/examples/compiled/point_ordinal_bin_offset_random.vg.json @@ -132,5 +132,6 @@ "title": "Miles_per_Gallon (binned)", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_ordinal_color.vg.json b/examples/compiled/point_ordinal_color.vg.json index 2d312ab37c2..b29568fca74 100644 --- a/examples/compiled/point_ordinal_color.vg.json +++ b/examples/compiled/point_ordinal_color.vg.json @@ -137,5 +137,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_overlap.vg.json b/examples/compiled/point_overlap.vg.json index 3097b82c0a9..7f8c1ee8ad9 100644 --- a/examples/compiled/point_overlap.vg.json +++ b/examples/compiled/point_overlap.vg.json @@ -38,5 +38,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_params.vg.json b/examples/compiled/point_params.vg.json index f04fa9e8828..c387764435f 100644 --- a/examples/compiled/point_params.vg.json +++ b/examples/compiled/point_params.vg.json @@ -150,5 +150,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_quantile_quantile.vg.json b/examples/compiled/point_quantile_quantile.vg.json index 4c326c4229b..43cdea99fa9 100644 --- a/examples/compiled/point_quantile_quantile.vg.json +++ b/examples/compiled/point_quantile_quantile.vg.json @@ -234,5 +234,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_scale_range_field.vg.json b/examples/compiled/point_scale_range_field.vg.json index d85f7f063ef..fe6b1fbeaf2 100644 --- a/examples/compiled/point_scale_range_field.vg.json +++ b/examples/compiled/point_scale_range_field.vg.json @@ -72,5 +72,6 @@ "title": "l", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_shape_custom.vg.json b/examples/compiled/point_shape_custom.vg.json index 1018d025ae4..6de56097ee7 100644 --- a/examples/compiled/point_shape_custom.vg.json +++ b/examples/compiled/point_shape_custom.vg.json @@ -151,5 +151,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/point_tooltip.vg.json b/examples/compiled/point_tooltip.vg.json index 613142f091b..5f81cebb5ef 100644 --- a/examples/compiled/point_tooltip.vg.json +++ b/examples/compiled/point_tooltip.vg.json @@ -109,5 +109,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/rect_binned_heatmap.vg.json b/examples/compiled/rect_binned_heatmap.vg.json index 164e6c3a056..8018511596c 100644 --- a/examples/compiled/rect_binned_heatmap.vg.json +++ b/examples/compiled/rect_binned_heatmap.vg.json @@ -168,5 +168,10 @@ "title": "Count of Records" } ], - "config": {"style": {"cell": {"stroke": "transparent"}}} + "config": { + "style": { + "cell": {"stroke": "transparent"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/rect_heatmap.vg.json b/examples/compiled/rect_heatmap.vg.json index 5afa68acb2c..a7756b2a722 100644 --- a/examples/compiled/rect_heatmap.vg.json +++ b/examples/compiled/rect_heatmap.vg.json @@ -127,5 +127,8 @@ "title": "Mean of Horsepower" } ], - "config": {"axis": {"grid": true, "tickBand": "extent"}} + "config": { + "axis": {"grid": true, "tickBand": "extent"}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/rect_heatmap_weather.vg.json b/examples/compiled/rect_heatmap_weather.vg.json index 6c00cfca801..7fb0ede4b94 100644 --- a/examples/compiled/rect_heatmap_weather.vg.json +++ b/examples/compiled/rect_heatmap_weather.vg.json @@ -129,5 +129,11 @@ "legends": [ {"fill": "color", "gradientLength": {"signal": "clamp(height, 64, 200)"}} ], - "config": {"axis": {"domain": false}, "style": {"cell": {"strokeWidth": 0}}} + "config": { + "axis": {"domain": false}, + "style": { + "cell": {"strokeWidth": 0}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/rect_heatmap_weather_temporal_center_band.vg.json b/examples/compiled/rect_heatmap_weather_temporal_center_band.vg.json index ddafffe73d9..a5cde0cdcf6 100644 --- a/examples/compiled/rect_heatmap_weather_temporal_center_band.vg.json +++ b/examples/compiled/rect_heatmap_weather_temporal_center_band.vg.json @@ -219,5 +219,11 @@ "legends": [ {"fill": "color", "gradientLength": {"signal": "clamp(height, 64, 200)"}} ], - "config": {"axis": {"domain": false}, "style": {"cell": {"strokeWidth": 0}}} + "config": { + "axis": {"domain": false}, + "style": { + "cell": {"strokeWidth": 0}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/rect_heatmap_weather_temporal_center_band_config.vg.json b/examples/compiled/rect_heatmap_weather_temporal_center_band_config.vg.json index ddafffe73d9..a5cde0cdcf6 100644 --- a/examples/compiled/rect_heatmap_weather_temporal_center_band_config.vg.json +++ b/examples/compiled/rect_heatmap_weather_temporal_center_band_config.vg.json @@ -219,5 +219,11 @@ "legends": [ {"fill": "color", "gradientLength": {"signal": "clamp(height, 64, 200)"}} ], - "config": {"axis": {"domain": false}, "style": {"cell": {"strokeWidth": 0}}} + "config": { + "axis": {"domain": false}, + "style": { + "cell": {"strokeWidth": 0}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/rect_lasagna.vg.json b/examples/compiled/rect_lasagna.vg.json index 95f0ff9d877..6bd37be7fbe 100644 --- a/examples/compiled/rect_lasagna.vg.json +++ b/examples/compiled/rect_lasagna.vg.json @@ -130,5 +130,6 @@ "fill": "color", "gradientLength": {"signal": "clamp(height, 64, 200)"} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/rect_mosaic_labelled.vg.json b/examples/compiled/rect_mosaic_labelled.vg.json index 5d3eff67249..8bbb0540638 100644 --- a/examples/compiled/rect_mosaic_labelled.vg.json +++ b/examples/compiled/rect_mosaic_labelled.vg.json @@ -254,6 +254,9 @@ ], "config": { "axis": {"domain": false, "ticks": false, "labels": false, "grid": false}, - "style": {"cell": {"stroke": ""}} + "style": { + "cell": {"stroke": ""}, + "tick": {"discreteBandSize": {"band": 0.75}} + } } } diff --git a/examples/compiled/rect_mosaic_labelled_with_offset.vg.json b/examples/compiled/rect_mosaic_labelled_with_offset.vg.json index f2c7e000f82..a525e8599b8 100644 --- a/examples/compiled/rect_mosaic_labelled_with_offset.vg.json +++ b/examples/compiled/rect_mosaic_labelled_with_offset.vg.json @@ -291,6 +291,9 @@ ], "config": { "axis": {"domain": false, "ticks": false, "labels": false, "grid": false}, - "style": {"cell": {"stroke": ""}} + "style": { + "cell": {"stroke": ""}, + "tick": {"discreteBandSize": {"band": 0.75}} + } } } diff --git a/examples/compiled/rect_mosaic_simple.vg.json b/examples/compiled/rect_mosaic_simple.vg.json index 337a0153547..ee83201c9bb 100644 --- a/examples/compiled/rect_mosaic_simple.vg.json +++ b/examples/compiled/rect_mosaic_simple.vg.json @@ -103,5 +103,6 @@ "zero": false } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/rect_params.vg.json b/examples/compiled/rect_params.vg.json index 30a45ae5211..2bb59c98be5 100644 --- a/examples/compiled/rect_params.vg.json +++ b/examples/compiled/rect_params.vg.json @@ -86,5 +86,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_child_layer.vg.json b/examples/compiled/repeat_child_layer.vg.json index d965ab328d7..2871eb57983 100644 --- a/examples/compiled/repeat_child_layer.vg.json +++ b/examples/compiled/repeat_child_layer.vg.json @@ -598,5 +598,6 @@ "title": "location", "encode": {"symbols": {"update": {"opacity": {"value": 0.2}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_histogram.vg.json b/examples/compiled/repeat_histogram.vg.json index 7a9df0329c6..290dddd2704 100644 --- a/examples/compiled/repeat_histogram.vg.json +++ b/examples/compiled/repeat_histogram.vg.json @@ -631,5 +631,6 @@ "zero": true } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_histogram_autosize.vg.json b/examples/compiled/repeat_histogram_autosize.vg.json index 5039068319e..00079884157 100644 --- a/examples/compiled/repeat_histogram_autosize.vg.json +++ b/examples/compiled/repeat_histogram_autosize.vg.json @@ -287,5 +287,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_histogram_flights.vg.json b/examples/compiled/repeat_histogram_flights.vg.json index b44321b2fe8..2e512864ff5 100644 --- a/examples/compiled/repeat_histogram_flights.vg.json +++ b/examples/compiled/repeat_histogram_flights.vg.json @@ -405,5 +405,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_independent_colors.vg.json b/examples/compiled/repeat_independent_colors.vg.json index 3794e6b9e6c..7c093705a88 100644 --- a/examples/compiled/repeat_independent_colors.vg.json +++ b/examples/compiled/repeat_independent_colors.vg.json @@ -274,5 +274,6 @@ "domain": {"data": "source_0", "field": "Cylinders", "sort": true}, "range": "category" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_layer.vg.json b/examples/compiled/repeat_layer.vg.json index c04e68bee46..fd9e8b1006d 100644 --- a/examples/compiled/repeat_layer.vg.json +++ b/examples/compiled/repeat_layer.vg.json @@ -154,5 +154,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke"}] + "legends": [{"stroke": "color", "symbolType": "stroke"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_line_weather.vg.json b/examples/compiled/repeat_line_weather.vg.json index 82f13ef59f0..10c9c67b286 100644 --- a/examples/compiled/repeat_line_weather.vg.json +++ b/examples/compiled/repeat_line_weather.vg.json @@ -409,5 +409,6 @@ "zero": true } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "location"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "location"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_splom.vg.json b/examples/compiled/repeat_splom.vg.json index 78473dbd044..61a1bb4331b 100644 --- a/examples/compiled/repeat_splom.vg.json +++ b/examples/compiled/repeat_splom.vg.json @@ -1800,5 +1800,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/repeat_splom_cars.vg.json b/examples/compiled/repeat_splom_cars.vg.json index 08e9d5ab95f..896822aa01a 100644 --- a/examples/compiled/repeat_splom_cars.vg.json +++ b/examples/compiled/repeat_splom_cars.vg.json @@ -494,5 +494,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/rule_color_mean.vg.json b/examples/compiled/rule_color_mean.vg.json index b0de789e6ca..15eab9e758d 100644 --- a/examples/compiled/rule_color_mean.vg.json +++ b/examples/compiled/rule_color_mean.vg.json @@ -86,5 +86,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/rule_extent.vg.json b/examples/compiled/rule_extent.vg.json index c83df692fcc..7c5409b1b4a 100644 --- a/examples/compiled/rule_extent.vg.json +++ b/examples/compiled/rule_extent.vg.json @@ -103,5 +103,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/rule_params.vg.json b/examples/compiled/rule_params.vg.json index 20dccabc8c7..e1e53f72389 100644 --- a/examples/compiled/rule_params.vg.json +++ b/examples/compiled/rule_params.vg.json @@ -101,5 +101,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/sample_scatterplot.vg.json b/examples/compiled/sample_scatterplot.vg.json index 0699cf1e21a..4150a097096 100644 --- a/examples/compiled/sample_scatterplot.vg.json +++ b/examples/compiled/sample_scatterplot.vg.json @@ -226,5 +226,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/scatter_image.vg.json b/examples/compiled/scatter_image.vg.json index 4bfe28fce6a..124e584e8b4 100644 --- a/examples/compiled/scatter_image.vg.json +++ b/examples/compiled/scatter_image.vg.json @@ -113,5 +113,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_bind_cylyr.vg.json b/examples/compiled/selection_bind_cylyr.vg.json index 9afdab62a9d..a0836d57e12 100644 --- a/examples/compiled/selection_bind_cylyr.vg.json +++ b/examples/compiled/selection_bind_cylyr.vg.json @@ -179,5 +179,6 @@ "title": "Origin", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_bind_origin.vg.json b/examples/compiled/selection_bind_origin.vg.json index e7935ec60ff..6ca366de9d9 100644 --- a/examples/compiled/selection_bind_origin.vg.json +++ b/examples/compiled/selection_bind_origin.vg.json @@ -168,5 +168,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_brush_timeunit.vg.json b/examples/compiled/selection_brush_timeunit.vg.json index e0300cf272b..489766518ad 100644 --- a/examples/compiled/selection_brush_timeunit.vg.json +++ b/examples/compiled/selection_brush_timeunit.vg.json @@ -542,5 +542,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_clear_brush.vg.json b/examples/compiled/selection_clear_brush.vg.json index 5d9945b9b02..69c4a0f4992 100644 --- a/examples/compiled/selection_clear_brush.vg.json +++ b/examples/compiled/selection_clear_brush.vg.json @@ -473,5 +473,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_composition_and.vg.json b/examples/compiled/selection_composition_and.vg.json index d7736f2efa8..4c664597cdb 100644 --- a/examples/compiled/selection_composition_and.vg.json +++ b/examples/compiled/selection_composition_and.vg.json @@ -733,5 +733,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_composition_or.vg.json b/examples/compiled/selection_composition_or.vg.json index 78ada163fa8..fac300cf63b 100644 --- a/examples/compiled/selection_composition_or.vg.json +++ b/examples/compiled/selection_composition_or.vg.json @@ -733,5 +733,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_concat.vg.json b/examples/compiled/selection_concat.vg.json index b27c82dddad..c051c18a16b 100644 --- a/examples/compiled/selection_concat.vg.json +++ b/examples/compiled/selection_concat.vg.json @@ -685,5 +685,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_filter.vg.json b/examples/compiled/selection_filter.vg.json index 66fca00b441..da33ecb8559 100644 --- a/examples/compiled/selection_filter.vg.json +++ b/examples/compiled/selection_filter.vg.json @@ -559,5 +559,6 @@ "range": [{"signal": "childHeight"}, 0], "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_filter_composition.vg.json b/examples/compiled/selection_filter_composition.vg.json index 23a7655f3f4..9bfedb3f121 100644 --- a/examples/compiled/selection_filter_composition.vg.json +++ b/examples/compiled/selection_filter_composition.vg.json @@ -559,5 +559,6 @@ "range": [{"signal": "childHeight"}, 0], "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_filter_false.vg.json b/examples/compiled/selection_filter_false.vg.json index 1afab12e88b..0876f29c4db 100644 --- a/examples/compiled/selection_filter_false.vg.json +++ b/examples/compiled/selection_filter_false.vg.json @@ -559,5 +559,6 @@ "range": [{"signal": "childHeight"}, 0], "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_filter_true.vg.json b/examples/compiled/selection_filter_true.vg.json index 66fca00b441..da33ecb8559 100644 --- a/examples/compiled/selection_filter_true.vg.json +++ b/examples/compiled/selection_filter_true.vg.json @@ -559,5 +559,6 @@ "range": [{"signal": "childHeight"}, 0], "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_heatmap.vg.json b/examples/compiled/selection_heatmap.vg.json index c3d9ddae107..a01817a0510 100644 --- a/examples/compiled/selection_heatmap.vg.json +++ b/examples/compiled/selection_heatmap.vg.json @@ -183,6 +183,7 @@ ], "config": { "range": {"ramp": {"scheme": "yellowgreenblue"}}, - "axis": {"domain": false} + "axis": {"domain": false}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} } } diff --git a/examples/compiled/selection_insert.vg.json b/examples/compiled/selection_insert.vg.json index 4fe9089c4e7..6533f46f822 100644 --- a/examples/compiled/selection_insert.vg.json +++ b/examples/compiled/selection_insert.vg.json @@ -167,5 +167,6 @@ "title": "Cylinders", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_interval_mark_style.vg.json b/examples/compiled/selection_interval_mark_style.vg.json index f49328edbc5..fa24b4843be 100644 --- a/examples/compiled/selection_interval_mark_style.vg.json +++ b/examples/compiled/selection_interval_mark_style.vg.json @@ -726,5 +726,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_layer_bar_month.vg.json b/examples/compiled/selection_layer_bar_month.vg.json index bf4b4c590d3..d2bc637a7ef 100644 --- a/examples/compiled/selection_layer_bar_month.vg.json +++ b/examples/compiled/selection_layer_bar_month.vg.json @@ -427,5 +427,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_multi_condition.vg.json b/examples/compiled/selection_multi_condition.vg.json index 809a795d4e1..bf8782adbc9 100644 --- a/examples/compiled/selection_multi_condition.vg.json +++ b/examples/compiled/selection_multi_condition.vg.json @@ -506,5 +506,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_binned_interval.vg.json b/examples/compiled/selection_project_binned_interval.vg.json index 145fcf82122..93ddd372507 100644 --- a/examples/compiled/selection_project_binned_interval.vg.json +++ b/examples/compiled/selection_project_binned_interval.vg.json @@ -457,5 +457,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_interval.vg.json b/examples/compiled/selection_project_interval.vg.json index 617dbefaccc..c18fbdecc71 100644 --- a/examples/compiled/selection_project_interval.vg.json +++ b/examples/compiled/selection_project_interval.vg.json @@ -411,5 +411,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_interval_x.vg.json b/examples/compiled/selection_project_interval_x.vg.json index 158d58798c8..f5372eebd43 100644 --- a/examples/compiled/selection_project_interval_x.vg.json +++ b/examples/compiled/selection_project_interval_x.vg.json @@ -351,5 +351,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_interval_x_y.vg.json b/examples/compiled/selection_project_interval_x_y.vg.json index 617dbefaccc..c18fbdecc71 100644 --- a/examples/compiled/selection_project_interval_x_y.vg.json +++ b/examples/compiled/selection_project_interval_x_y.vg.json @@ -411,5 +411,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_interval_y.vg.json b/examples/compiled/selection_project_interval_y.vg.json index e9edd1f8554..4409faceff4 100644 --- a/examples/compiled/selection_project_interval_y.vg.json +++ b/examples/compiled/selection_project_interval_y.vg.json @@ -351,5 +351,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_multi.vg.json b/examples/compiled/selection_project_multi.vg.json index 88afcd2dae6..11d2ccb4a6e 100644 --- a/examples/compiled/selection_project_multi.vg.json +++ b/examples/compiled/selection_project_multi.vg.json @@ -191,5 +191,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_multi_cylinders.vg.json b/examples/compiled/selection_project_multi_cylinders.vg.json index 65e4a56ba1c..60ce19868da 100644 --- a/examples/compiled/selection_project_multi_cylinders.vg.json +++ b/examples/compiled/selection_project_multi_cylinders.vg.json @@ -191,5 +191,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_multi_cylinders_origin.vg.json b/examples/compiled/selection_project_multi_cylinders_origin.vg.json index c2915a33155..8b0068c07e3 100644 --- a/examples/compiled/selection_project_multi_cylinders_origin.vg.json +++ b/examples/compiled/selection_project_multi_cylinders_origin.vg.json @@ -222,5 +222,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_multi_origin.vg.json b/examples/compiled/selection_project_multi_origin.vg.json index fe2706224b4..7ba269de5a4 100644 --- a/examples/compiled/selection_project_multi_origin.vg.json +++ b/examples/compiled/selection_project_multi_origin.vg.json @@ -216,5 +216,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_single.vg.json b/examples/compiled/selection_project_single.vg.json index e65908bfec8..a66ece4c126 100644 --- a/examples/compiled/selection_project_single.vg.json +++ b/examples/compiled/selection_project_single.vg.json @@ -180,5 +180,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_single_cylinders.vg.json b/examples/compiled/selection_project_single_cylinders.vg.json index 45bc7d1c369..7219e458346 100644 --- a/examples/compiled/selection_project_single_cylinders.vg.json +++ b/examples/compiled/selection_project_single_cylinders.vg.json @@ -180,5 +180,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_single_cylinders_origin.vg.json b/examples/compiled/selection_project_single_cylinders_origin.vg.json index e057d5b6254..1d6864dadeb 100644 --- a/examples/compiled/selection_project_single_cylinders_origin.vg.json +++ b/examples/compiled/selection_project_single_cylinders_origin.vg.json @@ -211,5 +211,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_project_single_origin.vg.json b/examples/compiled/selection_project_single_origin.vg.json index 9f6e5e4d746..c716e7e0880 100644 --- a/examples/compiled/selection_project_single_origin.vg.json +++ b/examples/compiled/selection_project_single_origin.vg.json @@ -205,5 +205,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_resolution_global.vg.json b/examples/compiled/selection_resolution_global.vg.json index b7fe8358d3f..2cb24986c66 100644 --- a/examples/compiled/selection_resolution_global.vg.json +++ b/examples/compiled/selection_resolution_global.vg.json @@ -3778,5 +3778,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_resolution_intersect.vg.json b/examples/compiled/selection_resolution_intersect.vg.json index b626c86515d..2347595a5d1 100644 --- a/examples/compiled/selection_resolution_intersect.vg.json +++ b/examples/compiled/selection_resolution_intersect.vg.json @@ -3346,5 +3346,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_resolution_union.vg.json b/examples/compiled/selection_resolution_union.vg.json index 02b5f23bc72..5018e97d80e 100644 --- a/examples/compiled/selection_resolution_union.vg.json +++ b/examples/compiled/selection_resolution_union.vg.json @@ -3346,5 +3346,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_toggle_altKey.vg.json b/examples/compiled/selection_toggle_altKey.vg.json index 02f223abcc1..68c0734b2f8 100644 --- a/examples/compiled/selection_toggle_altKey.vg.json +++ b/examples/compiled/selection_toggle_altKey.vg.json @@ -178,5 +178,6 @@ "title": "Cylinders", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_toggle_altKey_shiftKey.vg.json b/examples/compiled/selection_toggle_altKey_shiftKey.vg.json index 7875b981b1f..da5ac26dd82 100644 --- a/examples/compiled/selection_toggle_altKey_shiftKey.vg.json +++ b/examples/compiled/selection_toggle_altKey_shiftKey.vg.json @@ -178,5 +178,6 @@ "title": "Cylinders", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_toggle_shiftKey.vg.json b/examples/compiled/selection_toggle_shiftKey.vg.json index d135317d002..fdc15e2a686 100644 --- a/examples/compiled/selection_toggle_shiftKey.vg.json +++ b/examples/compiled/selection_toggle_shiftKey.vg.json @@ -178,5 +178,6 @@ "title": "Cylinders", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_translate_brush_drag.vg.json b/examples/compiled/selection_translate_brush_drag.vg.json index 7ac727c13eb..d37b71bc738 100644 --- a/examples/compiled/selection_translate_brush_drag.vg.json +++ b/examples/compiled/selection_translate_brush_drag.vg.json @@ -471,5 +471,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_translate_brush_shift-drag.vg.json b/examples/compiled/selection_translate_brush_shift-drag.vg.json index d70260814f8..d32a0a57e88 100644 --- a/examples/compiled/selection_translate_brush_shift-drag.vg.json +++ b/examples/compiled/selection_translate_brush_shift-drag.vg.json @@ -473,5 +473,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_translate_scatterplot_drag.vg.json b/examples/compiled/selection_translate_scatterplot_drag.vg.json index c24d1ad55f9..1628a1d0438 100644 --- a/examples/compiled/selection_translate_scatterplot_drag.vg.json +++ b/examples/compiled/selection_translate_scatterplot_drag.vg.json @@ -244,5 +244,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_translate_scatterplot_shift-drag.vg.json b/examples/compiled/selection_translate_scatterplot_shift-drag.vg.json index a6e17a8825e..8e2c54e9f09 100644 --- a/examples/compiled/selection_translate_scatterplot_shift-drag.vg.json +++ b/examples/compiled/selection_translate_scatterplot_shift-drag.vg.json @@ -254,5 +254,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_type_interval.vg.json b/examples/compiled/selection_type_interval.vg.json index 617dbefaccc..c18fbdecc71 100644 --- a/examples/compiled/selection_type_interval.vg.json +++ b/examples/compiled/selection_type_interval.vg.json @@ -411,5 +411,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_type_interval_invert.vg.json b/examples/compiled/selection_type_interval_invert.vg.json index 04ca6d0f8d8..9a19e86e288 100644 --- a/examples/compiled/selection_type_interval_invert.vg.json +++ b/examples/compiled/selection_type_interval_invert.vg.json @@ -410,5 +410,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_type_point.vg.json b/examples/compiled/selection_type_point.vg.json index 77df606b036..625dc4ad8b9 100644 --- a/examples/compiled/selection_type_point.vg.json +++ b/examples/compiled/selection_type_point.vg.json @@ -155,5 +155,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_type_point_zorder.vg.json b/examples/compiled/selection_type_point_zorder.vg.json index aee261c023a..f6975781d0a 100644 --- a/examples/compiled/selection_type_point_zorder.vg.json +++ b/examples/compiled/selection_type_point_zorder.vg.json @@ -175,5 +175,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_type_single_dblclick.vg.json b/examples/compiled/selection_type_single_dblclick.vg.json index 29abd06d184..9d172f8dd9b 100644 --- a/examples/compiled/selection_type_single_dblclick.vg.json +++ b/examples/compiled/selection_type_single_dblclick.vg.json @@ -155,5 +155,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_type_single_pointerover.vg.json b/examples/compiled/selection_type_single_pointerover.vg.json index bacea56be8c..3c520cb55f4 100644 --- a/examples/compiled/selection_type_single_pointerover.vg.json +++ b/examples/compiled/selection_type_single_pointerover.vg.json @@ -155,5 +155,6 @@ "gradientLength": {"signal": "clamp(height, 64, 200)"}, "title": "Count of Records" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_zoom_brush_shift-wheel.vg.json b/examples/compiled/selection_zoom_brush_shift-wheel.vg.json index 5d496bfd450..a63754e6741 100644 --- a/examples/compiled/selection_zoom_brush_shift-wheel.vg.json +++ b/examples/compiled/selection_zoom_brush_shift-wheel.vg.json @@ -473,5 +473,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_zoom_brush_wheel.vg.json b/examples/compiled/selection_zoom_brush_wheel.vg.json index 7ac727c13eb..d37b71bc738 100644 --- a/examples/compiled/selection_zoom_brush_wheel.vg.json +++ b/examples/compiled/selection_zoom_brush_wheel.vg.json @@ -471,5 +471,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_zoom_scatterplot_shift-wheel.vg.json b/examples/compiled/selection_zoom_scatterplot_shift-wheel.vg.json index c3fba0391ea..29f527c4dba 100644 --- a/examples/compiled/selection_zoom_scatterplot_shift-wheel.vg.json +++ b/examples/compiled/selection_zoom_scatterplot_shift-wheel.vg.json @@ -258,5 +258,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/selection_zoom_scatterplot_wheel.vg.json b/examples/compiled/selection_zoom_scatterplot_wheel.vg.json index c24d1ad55f9..1628a1d0438 100644 --- a/examples/compiled/selection_zoom_scatterplot_wheel.vg.json +++ b/examples/compiled/selection_zoom_scatterplot_wheel.vg.json @@ -244,5 +244,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/sequence_line.vg.json b/examples/compiled/sequence_line.vg.json index 5528a3d25f7..908ef451c29 100644 --- a/examples/compiled/sequence_line.vg.json +++ b/examples/compiled/sequence_line.vg.json @@ -103,5 +103,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/sequence_line_fold.vg.json b/examples/compiled/sequence_line_fold.vg.json index 6b40ae644fd..76ef320c1f6 100644 --- a/examples/compiled/sequence_line_fold.vg.json +++ b/examples/compiled/sequence_line_fold.vg.json @@ -131,5 +131,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke"}] + "legends": [{"stroke": "color", "symbolType": "stroke"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/square.vg.json b/examples/compiled/square.vg.json index cb1691ed445..5a76833b932 100644 --- a/examples/compiled/square.vg.json +++ b/examples/compiled/square.vg.json @@ -105,5 +105,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_area.vg.json b/examples/compiled/stacked_area.vg.json index 9d16b1dbcf9..ef5330d459f 100644 --- a/examples/compiled/stacked_area.vg.json +++ b/examples/compiled/stacked_area.vg.json @@ -167,5 +167,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "series"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "series"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_area_normalize.vg.json b/examples/compiled/stacked_area_normalize.vg.json index a3f8b8232cf..9e2da2d0b64 100644 --- a/examples/compiled/stacked_area_normalize.vg.json +++ b/examples/compiled/stacked_area_normalize.vg.json @@ -142,5 +142,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "series"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "series"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_area_ordinal.vg.json b/examples/compiled/stacked_area_ordinal.vg.json index d35e7e8ea8b..efaf870741a 100644 --- a/examples/compiled/stacked_area_ordinal.vg.json +++ b/examples/compiled/stacked_area_ordinal.vg.json @@ -171,5 +171,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "Cylinders"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "Cylinders"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_area_overlay.vg.json b/examples/compiled/stacked_area_overlay.vg.json index 19477caf6df..a5c809fc79f 100644 --- a/examples/compiled/stacked_area_overlay.vg.json +++ b/examples/compiled/stacked_area_overlay.vg.json @@ -202,5 +202,6 @@ "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}}, "stroke": "color" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_area_stream.vg.json b/examples/compiled/stacked_area_stream.vg.json index 7181229a5a8..c474e9e18ee 100644 --- a/examples/compiled/stacked_area_stream.vg.json +++ b/examples/compiled/stacked_area_stream.vg.json @@ -146,5 +146,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "series"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "series"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_area_without_agg.vg.json b/examples/compiled/stacked_area_without_agg.vg.json index d41ae2e9b22..2964ed54e3c 100644 --- a/examples/compiled/stacked_area_without_agg.vg.json +++ b/examples/compiled/stacked_area_without_agg.vg.json @@ -205,5 +205,6 @@ "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}}, "stroke": "color" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_1d.vg.json b/examples/compiled/stacked_bar_1d.vg.json index 743ebb1d359..749db89c1c6 100644 --- a/examples/compiled/stacked_bar_1d.vg.json +++ b/examples/compiled/stacked_bar_1d.vg.json @@ -98,5 +98,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "Origin"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_count.vg.json b/examples/compiled/stacked_bar_count.vg.json index 122e0b7c50e..ccb2bc908e1 100644 --- a/examples/compiled/stacked_bar_count.vg.json +++ b/examples/compiled/stacked_bar_count.vg.json @@ -129,5 +129,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "weather"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "weather"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_count_corner_radius_config.vg.json b/examples/compiled/stacked_bar_count_corner_radius_config.vg.json index 71509e63d75..334a8ed1877 100644 --- a/examples/compiled/stacked_bar_count_corner_radius_config.vg.json +++ b/examples/compiled/stacked_bar_count_corner_radius_config.vg.json @@ -179,6 +179,9 @@ ], "legends": [{"fill": "color", "symbolType": "square", "title": "weather"}], "config": { - "style": {"bar": {"cornerRadiusTopLeft": 8, "cornerRadiusTopRight": 8}} + "style": { + "bar": {"cornerRadiusTopLeft": 8, "cornerRadiusTopRight": 8}, + "tick": {"discreteBandSize": {"band": 0.75}} + } } } diff --git a/examples/compiled/stacked_bar_count_corner_radius_mark.vg.json b/examples/compiled/stacked_bar_count_corner_radius_mark.vg.json index 0c06b8c8ecc..dcc66bf5599 100644 --- a/examples/compiled/stacked_bar_count_corner_radius_mark.vg.json +++ b/examples/compiled/stacked_bar_count_corner_radius_mark.vg.json @@ -175,5 +175,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "weather"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "weather"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_count_corner_radius_mark_x.vg.json b/examples/compiled/stacked_bar_count_corner_radius_mark_x.vg.json index 984baf0d179..f28aebd893e 100644 --- a/examples/compiled/stacked_bar_count_corner_radius_mark_x.vg.json +++ b/examples/compiled/stacked_bar_count_corner_radius_mark_x.vg.json @@ -176,5 +176,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "weather"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "weather"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_count_corner_radius_stroke.vg.json b/examples/compiled/stacked_bar_count_corner_radius_stroke.vg.json index 15bd6cdf6cf..703ebc632d8 100644 --- a/examples/compiled/stacked_bar_count_corner_radius_stroke.vg.json +++ b/examples/compiled/stacked_bar_count_corner_radius_stroke.vg.json @@ -191,5 +191,10 @@ } } ], - "config": {"style": {"bar": {"strokeWidth": 2}}} + "config": { + "style": { + "bar": {"strokeWidth": 2}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/stacked_bar_h.vg.json b/examples/compiled/stacked_bar_h.vg.json index 2d7351dc7a7..cfd71696746 100644 --- a/examples/compiled/stacked_bar_h.vg.json +++ b/examples/compiled/stacked_bar_h.vg.json @@ -120,5 +120,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "site"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "site"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_h_normalized_labeled.vg.json b/examples/compiled/stacked_bar_h_normalized_labeled.vg.json index 87e5d5c3560..c867d8fbd81 100644 --- a/examples/compiled/stacked_bar_h_normalized_labeled.vg.json +++ b/examples/compiled/stacked_bar_h_normalized_labeled.vg.json @@ -162,5 +162,6 @@ }, {"scale": "y", "orient": "left", "grid": false, "title": "age", "zindex": 0} ], - "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_h_order.vg.json b/examples/compiled/stacked_bar_h_order.vg.json index bf3acb95fbd..8b5bee7d5db 100644 --- a/examples/compiled/stacked_bar_h_order.vg.json +++ b/examples/compiled/stacked_bar_h_order.vg.json @@ -120,5 +120,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "site"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "site"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_h_order_custom.vg.json b/examples/compiled/stacked_bar_h_order_custom.vg.json index b1bd41de1eb..24e0fda260e 100644 --- a/examples/compiled/stacked_bar_h_order_custom.vg.json +++ b/examples/compiled/stacked_bar_h_order_custom.vg.json @@ -125,5 +125,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "site"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "site"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_normalize.vg.json b/examples/compiled/stacked_bar_normalize.vg.json index 08df66d85e0..ab7a81834eb 100644 --- a/examples/compiled/stacked_bar_normalize.vg.json +++ b/examples/compiled/stacked_bar_normalize.vg.json @@ -126,5 +126,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_population.vg.json b/examples/compiled/stacked_bar_population.vg.json index 89196843e02..6f811980dcb 100644 --- a/examples/compiled/stacked_bar_population.vg.json +++ b/examples/compiled/stacked_bar_population.vg.json @@ -129,5 +129,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_population_transform.vg.json b/examples/compiled/stacked_bar_population_transform.vg.json index 1d5c55b211d..e2abe0eaaf7 100644 --- a/examples/compiled/stacked_bar_population_transform.vg.json +++ b/examples/compiled/stacked_bar_population_transform.vg.json @@ -119,5 +119,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_size.vg.json b/examples/compiled/stacked_bar_size.vg.json index 7008e2f7901..6f4e54c65cd 100644 --- a/examples/compiled/stacked_bar_size.vg.json +++ b/examples/compiled/stacked_bar_size.vg.json @@ -145,5 +145,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_sum_opacity.vg.json b/examples/compiled/stacked_bar_sum_opacity.vg.json index 6492caecc1c..123cd14adbe 100644 --- a/examples/compiled/stacked_bar_sum_opacity.vg.json +++ b/examples/compiled/stacked_bar_sum_opacity.vg.json @@ -145,5 +145,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_unaggregate.vg.json b/examples/compiled/stacked_bar_unaggregate.vg.json index 92509ade9de..b5caea5175c 100644 --- a/examples/compiled/stacked_bar_unaggregate.vg.json +++ b/examples/compiled/stacked_bar_unaggregate.vg.json @@ -120,5 +120,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "c"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "c"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_v.vg.json b/examples/compiled/stacked_bar_v.vg.json index a0409fbb639..a3bdea22ec8 100644 --- a/examples/compiled/stacked_bar_v.vg.json +++ b/examples/compiled/stacked_bar_v.vg.json @@ -122,5 +122,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "site"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "site"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_v_ascending.vg.json b/examples/compiled/stacked_bar_v_ascending.vg.json index 9581042ae0e..05329a342b6 100644 --- a/examples/compiled/stacked_bar_v_ascending.vg.json +++ b/examples/compiled/stacked_bar_v_ascending.vg.json @@ -122,5 +122,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "site"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "site"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/stacked_bar_weather.vg.json b/examples/compiled/stacked_bar_weather.vg.json index 14721fff3bd..787b9054b70 100644 --- a/examples/compiled/stacked_bar_weather.vg.json +++ b/examples/compiled/stacked_bar_weather.vg.json @@ -131,5 +131,6 @@ ], "legends": [ {"title": "Weather type", "fill": "color", "symbolType": "square"} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/test_aggregate_nested.vg.json b/examples/compiled/test_aggregate_nested.vg.json index 65bda28edf0..b3fb2720558 100644 --- a/examples/compiled/test_aggregate_nested.vg.json +++ b/examples/compiled/test_aggregate_nested.vg.json @@ -161,5 +161,6 @@ "zindex": 0 } ], - "legends": [{"title": "site", "fill": "color", "symbolType": "square"}] + "legends": [{"title": "site", "fill": "color", "symbolType": "square"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/test_field_with_spaces.vg.json b/examples/compiled/test_field_with_spaces.vg.json index 8632fb93903..5bd16930d82 100644 --- a/examples/compiled/test_field_with_spaces.vg.json +++ b/examples/compiled/test_field_with_spaces.vg.json @@ -119,5 +119,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/test_single_point_color.vg.json b/examples/compiled/test_single_point_color.vg.json index daba5681875..3eb616912e6 100644 --- a/examples/compiled/test_single_point_color.vg.json +++ b/examples/compiled/test_single_point_color.vg.json @@ -23,5 +23,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/test_subobject.vg.json b/examples/compiled/test_subobject.vg.json index d3e94e7d597..48b05a96a0b 100644 --- a/examples/compiled/test_subobject.vg.json +++ b/examples/compiled/test_subobject.vg.json @@ -124,5 +124,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/test_subobject_missing.vg.json b/examples/compiled/test_subobject_missing.vg.json index 89398fceb2b..b3e479d05cd 100644 --- a/examples/compiled/test_subobject_missing.vg.json +++ b/examples/compiled/test_subobject_missing.vg.json @@ -106,5 +106,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/test_subobject_nested.vg.json b/examples/compiled/test_subobject_nested.vg.json index bb50617f54a..5bcdbd56770 100644 --- a/examples/compiled/test_subobject_nested.vg.json +++ b/examples/compiled/test_subobject_nested.vg.json @@ -134,5 +134,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/text_format.vg.json b/examples/compiled/text_format.vg.json index 87a3487c9c3..ee5baa0ac10 100644 --- a/examples/compiled/text_format.vg.json +++ b/examples/compiled/text_format.vg.json @@ -65,5 +65,6 @@ "title": "Origin", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/text_params.vg.json b/examples/compiled/text_params.vg.json index 6eedf2e1e07..8cb2a284439 100644 --- a/examples/compiled/text_params.vg.json +++ b/examples/compiled/text_params.vg.json @@ -210,5 +210,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/text_scatterplot_colored.vg.json b/examples/compiled/text_scatterplot_colored.vg.json index 5c6b6971ec2..711570be6ed 100644 --- a/examples/compiled/text_scatterplot_colored.vg.json +++ b/examples/compiled/text_scatterplot_colored.vg.json @@ -115,5 +115,6 @@ "zindex": 0 } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "Origin"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "Origin"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/text_tooltip_image.vg.json b/examples/compiled/text_tooltip_image.vg.json index dc2bdf82655..bbb094c06f2 100644 --- a/examples/compiled/text_tooltip_image.vg.json +++ b/examples/compiled/text_tooltip_image.vg.json @@ -57,5 +57,6 @@ "range": {"step": {"signal": "y_step"}}, "padding": 0.5 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/tick_dot.vg.json b/examples/compiled/tick_dot.vg.json index d8b575c0b54..7e724359e4e 100644 --- a/examples/compiled/tick_dot.vg.json +++ b/examples/compiled/tick_dot.vg.json @@ -32,10 +32,10 @@ "description": { "signal": "\"precipitation: \" + (format(datum[\"precipitation\"], \"\"))" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "precipitation"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "height": {"mult": 0.75, "field": {"group": "height"}} } } } @@ -74,5 +74,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/tick_dot_thickness.png b/examples/compiled/tick_dot_thickness.png index be571af076f..371fa232c5b 100644 Binary files a/examples/compiled/tick_dot_thickness.png and b/examples/compiled/tick_dot_thickness.png differ diff --git a/examples/compiled/tick_dot_thickness.svg b/examples/compiled/tick_dot_thickness.svg index 676fc14a394..50ad2b9ddb1 100644 --- a/examples/compiled/tick_dot_thickness.svg +++ b/examples/compiled/tick_dot_thickness.svg @@ -1 +1 @@ -050100150200Horsepower \ No newline at end of file +050100150200Horsepower \ No newline at end of file diff --git a/examples/compiled/tick_dot_thickness.vg.json b/examples/compiled/tick_dot_thickness.vg.json index 962912839cd..870197aed6e 100644 --- a/examples/compiled/tick_dot_thickness.vg.json +++ b/examples/compiled/tick_dot_thickness.vg.json @@ -32,10 +32,10 @@ "description": { "signal": "\"Horsepower: \" + (format(datum[\"Horsepower\"], \"\"))" }, + "width": {"value": 2}, "xc": {"scale": "x", "field": "Horsepower"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"value": 10}, - "width": {"value": 2} + "height": {"mult": 0.75, "field": {"group": "height"}} } } } @@ -74,5 +74,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/tick_grouped.png b/examples/compiled/tick_grouped.png index 150178bcc22..a1003fbfb55 100644 Binary files a/examples/compiled/tick_grouped.png and b/examples/compiled/tick_grouped.png differ diff --git a/examples/compiled/tick_grouped.svg b/examples/compiled/tick_grouped.svg index dc266850330..a2821801d9e 100644 --- a/examples/compiled/tick_grouped.svg +++ b/examples/compiled/tick_grouped.svg @@ -1 +1 @@ -ABCcategory0.00.20.40.60.81.0valuexyzgroup \ No newline at end of file +ABCcategory0.00.20.40.60.81.0valuexyzgroup \ No newline at end of file diff --git a/examples/compiled/tick_grouped.vg.json b/examples/compiled/tick_grouped.vg.json index 2bb4b56c334..99438b3d9b1 100644 --- a/examples/compiled/tick_grouped.vg.json +++ b/examples/compiled/tick_grouped.vg.json @@ -51,14 +51,15 @@ "description": { "signal": "\"category: \" + (isValid(datum[\"category\"]) ? datum[\"category\"] : \"\"+datum[\"category\"]) + \"; value: \" + (format(datum[\"value\"], \"\")) + \"; group: \" + (isValid(datum[\"group\"]) ? datum[\"group\"] : \"\"+datum[\"group\"])" }, - "xc": { + "height": {"value": 1}, + "x": { "scale": "x", "field": "category", - "offset": {"scale": "xOffset", "field": "group"} + "offset": {"scale": "xOffset", "field": "group"}, + "band": 0.125 }, - "yc": {"scale": "y", "field": "value"}, - "width": {"value": 15}, - "height": {"value": 1} + "width": {"value": 18}, + "yc": {"scale": "y", "field": "value"} } } } @@ -136,5 +137,6 @@ "title": "group", "encode": {"symbols": {"update": {"opacity": {"value": 0.7}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/tick_histogram.png b/examples/compiled/tick_histogram.png index 94a6e1a6f51..190ae345a27 100644 Binary files a/examples/compiled/tick_histogram.png and b/examples/compiled/tick_histogram.png differ diff --git a/examples/compiled/tick_histogram.svg b/examples/compiled/tick_histogram.svg index 62d86a76543..ca920516214 100644 --- a/examples/compiled/tick_histogram.svg +++ b/examples/compiled/tick_histogram.svg @@ -1 +1 @@ -1.02.03.04.05.06.07.08.09.010.0IMDB Rating (binned)02004006008001,000Count of Records \ No newline at end of file +1.02.03.04.05.06.07.08.09.010.0IMDB Rating (binned)02004006008001,000Count of Records \ No newline at end of file diff --git a/examples/compiled/tick_histogram.vg.json b/examples/compiled/tick_histogram.vg.json index eed0cc921a1..45b436b9955 100644 --- a/examples/compiled/tick_histogram.vg.json +++ b/examples/compiled/tick_histogram.vg.json @@ -57,12 +57,18 @@ "description": { "signal": "\"IMDB Rating (binned): \" + (!isValid(datum[\"bin_maxbins_10_IMDB Rating\"]) || !isFinite(+datum[\"bin_maxbins_10_IMDB Rating\"]) ? \"null\" : format(datum[\"bin_maxbins_10_IMDB Rating\"], \"\") + \" – \" + format(datum[\"bin_maxbins_10_IMDB Rating_end\"], \"\")) + \"; Count of Records: \" + (format(datum[\"__count\"], \"\"))" }, - "xc": { - "signal": "scale(\"x\", 0.5 * datum[\"bin_maxbins_10_IMDB Rating\"] + 0.5 * datum[\"bin_maxbins_10_IMDB Rating_end\"])" + "height": {"value": 1}, + "x2": { + "scale": "x", + "field": "bin_maxbins_10_IMDB Rating", + "offset": 0.5 }, - "yc": {"scale": "y", "field": "__count"}, - "width": {"value": 15}, - "height": {"value": 1} + "x": { + "scale": "x", + "field": "bin_maxbins_10_IMDB Rating_end", + "offset": 0.5 + }, + "yc": {"scale": "y", "field": "__count"} } } } @@ -121,5 +127,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/tick_month_histogram.png b/examples/compiled/tick_month_histogram.png index 6687d7176c3..4ba6835728c 100644 Binary files a/examples/compiled/tick_month_histogram.png and b/examples/compiled/tick_month_histogram.png differ diff --git a/examples/compiled/tick_month_histogram.svg b/examples/compiled/tick_month_histogram.svg index b2d131b72a6..e8cada5efe5 100644 --- a/examples/compiled/tick_month_histogram.svg +++ b/examples/compiled/tick_month_histogram.svg @@ -1 +1 @@ -JFMAMJJASONDdate (month)012345Mean of precipitation \ No newline at end of file +JFMAMJJASONDJdate (month)012345Mean of precipitation \ No newline at end of file diff --git a/examples/compiled/tick_month_histogram.vg.json b/examples/compiled/tick_month_histogram.vg.json index 9e16402e8a8..8aa36d8ddab 100644 --- a/examples/compiled/tick_month_histogram.vg.json +++ b/examples/compiled/tick_month_histogram.vg.json @@ -20,7 +20,7 @@ }, { "type": "aggregate", - "groupby": ["month_date"], + "groupby": ["month_date", "month_date_end"], "ops": ["mean"], "fields": ["precipitation"], "as": ["mean_precipitation"] @@ -45,10 +45,16 @@ "description": { "signal": "\"date (month): \" + (timeFormat(datum[\"month_date\"], timeUnitSpecifier([\"month\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; Mean of precipitation: \" + (format(datum[\"mean_precipitation\"], \"\"))" }, - "xc": {"scale": "x", "field": "month_date"}, - "yc": {"scale": "y", "field": "mean_precipitation"}, - "width": {"value": 15}, - "height": {"value": 1} + "height": {"value": 1}, + "x2": { + "signal": "scale(\"x\", 0.875 * datum[\"month_date\"] + 0.125 * datum[\"month_date_end\"])", + "offset": 0.5 + }, + "x": { + "signal": "scale(\"x\", 0.125 * datum[\"month_date\"] + 0.875 * datum[\"month_date_end\"])", + "offset": 0.5 + }, + "yc": {"scale": "y", "field": "mean_precipitation"} } } } @@ -57,7 +63,10 @@ { "name": "x", "type": "time", - "domain": {"data": "source_0", "field": "month_date"}, + "domain": { + "data": "source_0", + "fields": ["month_date", "month_date_end"] + }, "range": [0, {"signal": "width"}] }, { @@ -126,5 +135,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/tick_sort.vg.json b/examples/compiled/tick_sort.vg.json index e54fb4aed0e..cb4c340fc0d 100644 --- a/examples/compiled/tick_sort.vg.json +++ b/examples/compiled/tick_sort.vg.json @@ -32,10 +32,10 @@ "description": { "signal": "\"Horsepower: \" + (format(datum[\"Horsepower\"], \"\"))" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "Horsepower"}, "yc": {"signal": "height", "mult": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "height": {"mult": 0.75, "field": {"group": "height"}} } } } @@ -75,5 +75,6 @@ "tickCount": {"signal": "ceil(width/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/tick_strip.png b/examples/compiled/tick_strip.png index 9740c3ffab7..b32941a606b 100644 Binary files a/examples/compiled/tick_strip.png and b/examples/compiled/tick_strip.png differ diff --git a/examples/compiled/tick_strip.svg b/examples/compiled/tick_strip.svg index d4d87496009..32f7ce57f67 100644 --- a/examples/compiled/tick_strip.svg +++ b/examples/compiled/tick_strip.svg @@ -1 +1 @@ -050100150200Horsepower34568Cylinders \ No newline at end of file +050100150200Horsepower34568Cylinders \ No newline at end of file diff --git a/examples/compiled/tick_strip.vg.json b/examples/compiled/tick_strip.vg.json index d27a6f5fb62..3f4a531d993 100644 --- a/examples/compiled/tick_strip.vg.json +++ b/examples/compiled/tick_strip.vg.json @@ -39,10 +39,10 @@ "description": { "signal": "\"Horsepower: \" + (format(datum[\"Horsepower\"], \"\")) + \"; Cylinders: \" + (isValid(datum[\"Cylinders\"]) ? datum[\"Cylinders\"] : \"\"+datum[\"Cylinders\"])" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "Horsepower"}, "yc": {"scale": "y", "field": "Cylinders"}, - "height": {"value": 15}, - "width": {"value": 1} + "height": {"value": 18} } } } @@ -96,5 +96,6 @@ "title": "Cylinders", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/tick_strip_tick_band.vg.json b/examples/compiled/tick_strip_tick_band.vg.json index 4302d64a9d8..70987f6f546 100644 --- a/examples/compiled/tick_strip_tick_band.vg.json +++ b/examples/compiled/tick_strip_tick_band.vg.json @@ -35,10 +35,10 @@ "description": { "signal": "\"Horsepower: \" + (format(datum[\"Horsepower\"], \"\")) + \"; Cylinders: \" + (isValid(datum[\"Cylinders\"]) ? datum[\"Cylinders\"] : \"\"+datum[\"Cylinders\"])" }, + "width": {"value": 1}, "xc": {"scale": "x", "field": "Horsepower"}, - "yc": {"scale": "y", "field": "Cylinders", "band": 0.5}, - "height": {"value": 15}, - "width": {"value": 1} + "y": {"scale": "y", "field": "Cylinders", "band": 0.125}, + "height": {"signal": "0.75 * bandwidth('y')"} } } } @@ -108,5 +108,6 @@ "tickBand": "extent", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/time_custom_step.vg.json b/examples/compiled/time_custom_step.vg.json index f6ed2a1bf36..2e5c406d822 100644 --- a/examples/compiled/time_custom_step.vg.json +++ b/examples/compiled/time_custom_step.vg.json @@ -163,5 +163,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/time_output_utc_scale.vg.json b/examples/compiled/time_output_utc_scale.vg.json index a2450c89a22..b50542ba796 100644 --- a/examples/compiled/time_output_utc_scale.vg.json +++ b/examples/compiled/time_output_utc_scale.vg.json @@ -132,5 +132,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/time_output_utc_timeunit.vg.json b/examples/compiled/time_output_utc_timeunit.vg.json index 5bbfe8c82b2..51898aab5a8 100644 --- a/examples/compiled/time_output_utc_timeunit.vg.json +++ b/examples/compiled/time_output_utc_timeunit.vg.json @@ -136,5 +136,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/time_parse_binnedutc.vg.json b/examples/compiled/time_parse_binnedutc.vg.json index 55dc8f7d78d..76cc59178f5 100644 --- a/examples/compiled/time_parse_binnedutc.vg.json +++ b/examples/compiled/time_parse_binnedutc.vg.json @@ -76,5 +76,6 @@ }, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/time_parse_local.vg.json b/examples/compiled/time_parse_local.vg.json index 83690debb11..ad10f44f4d5 100644 --- a/examples/compiled/time_parse_local.vg.json +++ b/examples/compiled/time_parse_local.vg.json @@ -80,5 +80,6 @@ }, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/time_parse_utc.vg.json b/examples/compiled/time_parse_utc.vg.json index 244ed944cda..cfcc9287768 100644 --- a/examples/compiled/time_parse_utc.vg.json +++ b/examples/compiled/time_parse_utc.vg.json @@ -78,5 +78,6 @@ }, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/time_parse_utc_format.vg.json b/examples/compiled/time_parse_utc_format.vg.json index df4379d2f83..5423306bc94 100644 --- a/examples/compiled/time_parse_utc_format.vg.json +++ b/examples/compiled/time_parse_utc_format.vg.json @@ -84,5 +84,6 @@ }, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trail_color.vg.json b/examples/compiled/trail_color.vg.json index 03cca901454..60bbe93b562 100644 --- a/examples/compiled/trail_color.vg.json +++ b/examples/compiled/trail_color.vg.json @@ -136,5 +136,6 @@ "legends": [ {"stroke": "color", "symbolType": "stroke", "title": "symbol"}, {"strokeWidth": "size", "symbolType": "stroke", "title": "price"} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trail_comet.vg.json b/examples/compiled/trail_comet.vg.json index 094d44f4a8e..585075de698 100644 --- a/examples/compiled/trail_comet.vg.json +++ b/examples/compiled/trail_comet.vg.json @@ -213,5 +213,8 @@ "symbolType": "stroke" } ], - "config": {"legend": {"orient": "bottom", "direction": "horizontal"}} + "config": { + "legend": {"orient": "bottom", "direction": "horizontal"}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/trellis_anscombe.vg.json b/examples/compiled/trellis_anscombe.vg.json index 9d9d2d8be64..87e2965beea 100644 --- a/examples/compiled/trellis_anscombe.vg.json +++ b/examples/compiled/trellis_anscombe.vg.json @@ -176,5 +176,6 @@ "zero": false, "nice": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_area.vg.json b/examples/compiled/trellis_area.vg.json index 88794d1567c..d239b2a33f6 100644 --- a/examples/compiled/trellis_area.vg.json +++ b/examples/compiled/trellis_area.vg.json @@ -183,5 +183,6 @@ "domain": {"data": "source_0", "field": "symbol", "sort": true}, "range": "category" } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_area_seattle.vg.json b/examples/compiled/trellis_area_seattle.vg.json index 2591cd8017a..ade02d913ff 100644 --- a/examples/compiled/trellis_area_seattle.vg.json +++ b/examples/compiled/trellis_area_seattle.vg.json @@ -196,5 +196,8 @@ "nice": true } ], - "config": {"axis": {"grid": false, "domain": false}} + "config": { + "axis": {"grid": false, "domain": false}, + "style": {"tick": {"discreteBandSize": {"band": 0.75}}} + } } diff --git a/examples/compiled/trellis_area_sort_array.vg.json b/examples/compiled/trellis_area_sort_array.vg.json index 186d28d6d6c..15dfc4349ec 100644 --- a/examples/compiled/trellis_area_sort_array.vg.json +++ b/examples/compiled/trellis_area_sort_array.vg.json @@ -213,5 +213,6 @@ "range": "category" } ], - "legends": [{"fill": "color", "symbolType": "circle", "title": "symbol"}] + "legends": [{"fill": "color", "symbolType": "circle", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_bar.vg.json b/examples/compiled/trellis_bar.vg.json index a8b3fef14a3..b0f0678ad39 100644 --- a/examples/compiled/trellis_bar.vg.json +++ b/examples/compiled/trellis_bar.vg.json @@ -195,5 +195,6 @@ "range": ["#675193", "#ca8861"] } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_bar_histogram.vg.json b/examples/compiled/trellis_bar_histogram.vg.json index f806696d61e..2ab9a4d1461 100644 --- a/examples/compiled/trellis_bar_histogram.vg.json +++ b/examples/compiled/trellis_bar_histogram.vg.json @@ -197,5 +197,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_bar_histogram_label_rotated.vg.json b/examples/compiled/trellis_bar_histogram_label_rotated.vg.json index bcec41df778..1398aff1b33 100644 --- a/examples/compiled/trellis_bar_histogram_label_rotated.vg.json +++ b/examples/compiled/trellis_bar_histogram_label_rotated.vg.json @@ -200,5 +200,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_bar_no_header.vg.json b/examples/compiled/trellis_bar_no_header.vg.json index 0e859595afa..7e894a9b9e6 100644 --- a/examples/compiled/trellis_bar_no_header.vg.json +++ b/examples/compiled/trellis_bar_no_header.vg.json @@ -169,5 +169,6 @@ "range": ["#675193", "#ca8861"] } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "gender"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_barley.vg.json b/examples/compiled/trellis_barley.vg.json index b7ffc699edc..ac629a0b580 100644 --- a/examples/compiled/trellis_barley.vg.json +++ b/examples/compiled/trellis_barley.vg.json @@ -238,5 +238,6 @@ "title": "year", "encode": {"symbols": {"update": {"fill": {"value": "transparent"}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_barley_independent.vg.json b/examples/compiled/trellis_barley_independent.vg.json index d52e6df79a1..b97b771d6b8 100644 --- a/examples/compiled/trellis_barley_independent.vg.json +++ b/examples/compiled/trellis_barley_independent.vg.json @@ -181,5 +181,6 @@ "title": "year", "encode": {"symbols": {"update": {"fill": {"value": "transparent"}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_barley_layer_median.vg.json b/examples/compiled/trellis_barley_layer_median.vg.json index 0ad02b1fbaf..834359c7481 100644 --- a/examples/compiled/trellis_barley_layer_median.vg.json +++ b/examples/compiled/trellis_barley_layer_median.vg.json @@ -282,5 +282,6 @@ "title": "year", "encode": {"symbols": {"update": {"fill": {"value": "transparent"}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_column_year.vg.json b/examples/compiled/trellis_column_year.vg.json index 335a8d1d2b1..112a10fe754 100644 --- a/examples/compiled/trellis_column_year.vg.json +++ b/examples/compiled/trellis_column_year.vg.json @@ -212,5 +212,6 @@ "range": "category" } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "symbol"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_cross_sort.vg.json b/examples/compiled/trellis_cross_sort.vg.json index 8ab89d4082b..350f98b813a 100644 --- a/examples/compiled/trellis_cross_sort.vg.json +++ b/examples/compiled/trellis_cross_sort.vg.json @@ -400,5 +400,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_cross_sort_array.vg.json b/examples/compiled/trellis_cross_sort_array.vg.json index 0862fbb7fa2..9409cf08521 100644 --- a/examples/compiled/trellis_cross_sort_array.vg.json +++ b/examples/compiled/trellis_cross_sort_array.vg.json @@ -399,5 +399,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_line_quarter.vg.json b/examples/compiled/trellis_line_quarter.vg.json index ff4c8da8da3..dbbd9e090b4 100644 --- a/examples/compiled/trellis_line_quarter.vg.json +++ b/examples/compiled/trellis_line_quarter.vg.json @@ -202,5 +202,6 @@ "title": "symbol", "encode": {"symbols": {"update": {"fill": {"value": "transparent"}}}} } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_row_column.vg.json b/examples/compiled/trellis_row_column.vg.json index 395389a0052..3dcf899e483 100644 --- a/examples/compiled/trellis_row_column.vg.json +++ b/examples/compiled/trellis_row_column.vg.json @@ -251,5 +251,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_scatter.vg.json b/examples/compiled/trellis_scatter.vg.json index 7c22029457e..3ed7b2ae08c 100644 --- a/examples/compiled/trellis_scatter.vg.json +++ b/examples/compiled/trellis_scatter.vg.json @@ -185,5 +185,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_scatter_binned_row.vg.json b/examples/compiled/trellis_scatter_binned_row.vg.json index 144e70789d4..590186b3a0b 100644 --- a/examples/compiled/trellis_scatter_binned_row.vg.json +++ b/examples/compiled/trellis_scatter_binned_row.vg.json @@ -211,5 +211,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_scatter_small.vg.json b/examples/compiled/trellis_scatter_small.vg.json index 2b5fffdf06f..cbe62f6779e 100644 --- a/examples/compiled/trellis_scatter_small.vg.json +++ b/examples/compiled/trellis_scatter_small.vg.json @@ -179,5 +179,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_selections.vg.json b/examples/compiled/trellis_selections.vg.json index e8f493be876..fabebfc1255 100644 --- a/examples/compiled/trellis_selections.vg.json +++ b/examples/compiled/trellis_selections.vg.json @@ -599,5 +599,6 @@ "zero": false, "nice": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/trellis_stacked_bar.vg.json b/examples/compiled/trellis_stacked_bar.vg.json index 02913643690..25f4743589b 100644 --- a/examples/compiled/trellis_stacked_bar.vg.json +++ b/examples/compiled/trellis_stacked_bar.vg.json @@ -188,5 +188,6 @@ "range": "category" } ], - "legends": [{"fill": "color", "symbolType": "square", "title": "site"}] + "legends": [{"fill": "color", "symbolType": "square", "title": "site"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/vconcat_flatten.vg.json b/examples/compiled/vconcat_flatten.vg.json index 06b7593fdc5..21858732fc2 100644 --- a/examples/compiled/vconcat_flatten.vg.json +++ b/examples/compiled/vconcat_flatten.vg.json @@ -357,5 +357,6 @@ "nice": true, "zero": true } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/vconcat_weather.vg.json b/examples/compiled/vconcat_weather.vg.json index 3db6ba2d6b6..32dc79045fc 100644 --- a/examples/compiled/vconcat_weather.vg.json +++ b/examples/compiled/vconcat_weather.vg.json @@ -287,5 +287,6 @@ } } } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/waterfall_chart.vg.json b/examples/compiled/waterfall_chart.vg.json index d3b9edab4a0..2a5dc29c939 100644 --- a/examples/compiled/waterfall_chart.vg.json +++ b/examples/compiled/waterfall_chart.vg.json @@ -322,5 +322,10 @@ "zindex": 0 } ], - "config": {"style": {"text": {"fontWeight": "bold"}}} + "config": { + "style": { + "text": {"fontWeight": "bold"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } + } } diff --git a/examples/compiled/wheat_wages.vg.json b/examples/compiled/wheat_wages.vg.json index 5a60792a744..c282948a4d8 100644 --- a/examples/compiled/wheat_wages.vg.json +++ b/examples/compiled/wheat_wages.vg.json @@ -363,6 +363,9 @@ "gridOpacity": 0.25, "domain": false }, - "style": {"cell": {"stroke": "transparent"}} + "style": { + "cell": {"stroke": "transparent"}, + "tick": {"discreteBandSize": {"band": 0.75}} + } } } diff --git a/examples/compiled/window_cumulative_running_average.vg.json b/examples/compiled/window_cumulative_running_average.vg.json index 2db4ec31784..ae26878c566 100644 --- a/examples/compiled/window_cumulative_running_average.vg.json +++ b/examples/compiled/window_cumulative_running_average.vg.json @@ -172,5 +172,6 @@ "tickCount": {"signal": "ceil(height/40)"}, "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/window_rank.vg.json b/examples/compiled/window_rank.vg.json index d0bf936ae37..d53983b7250 100644 --- a/examples/compiled/window_rank.vg.json +++ b/examples/compiled/window_rank.vg.json @@ -132,5 +132,6 @@ "zindex": 0 } ], - "legends": [{"stroke": "color", "symbolType": "stroke", "title": "team"}] + "legends": [{"stroke": "color", "symbolType": "stroke", "title": "team"}], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/window_top_k.vg.json b/examples/compiled/window_top_k.vg.json index 23aec6d38c0..ddb689446f5 100644 --- a/examples/compiled/window_top_k.vg.json +++ b/examples/compiled/window_top_k.vg.json @@ -149,5 +149,6 @@ "title": "student", "zindex": 0 } - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} } diff --git a/examples/compiled/window_top_k_others.vg.json b/examples/compiled/window_top_k_others.vg.json index 106ca554770..628815d0f09 100644 --- a/examples/compiled/window_top_k_others.vg.json +++ b/examples/compiled/window_top_k_others.vg.json @@ -134,5 +134,6 @@ "zindex": 0 }, {"scale": "y", "orient": "left", "grid": false, "zindex": 0} - ] + ], + "config": {"style": {"tick": {"discreteBandSize": {"band": 0.75}}}} }