Add sort transform by encoding to encoding
sort_encoding_by_encoding.Rd
Add sort by encoding parameters to an encoding
Usage
vl_sort_angle_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_color_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_fill_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_fillOpacity_by_encoding(
spec,
encoding = NULL,
order = NULL,
.object = NULL
)
vl_sort_opacity_by_encoding(
spec,
encoding = NULL,
order = NULL,
.object = NULL
)
vl_sort_order_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_radius_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_shape_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_size_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_stroke_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_strokeDash_by_encoding(
spec,
encoding = NULL,
order = NULL,
.object = NULL
)
vl_sort_strokeOpacity_by_encoding(
spec,
encoding = NULL,
order = NULL,
.object = NULL
)
vl_sort_strokeWidth_by_encoding(
spec,
encoding = NULL,
order = NULL,
.object = NULL
)
vl_sort_theta_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_x_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_xOffset_by_encoding(
spec,
encoding = NULL,
order = NULL,
.object = NULL
)
vl_sort_y_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_yOffset_by_encoding(
spec,
encoding = NULL,
order = NULL,
.object = NULL
)
vl_sort_facet_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_row_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
vl_sort_column_by_encoding(spec, encoding = NULL, order = NULL, .object = NULL)
Arguments
- spec
An input vega-lite spec
- encoding
The encoding channel to sort by (e.g.,
"x"
,"y"
)- order
The sort order. One of
"ascending"
(default),"descending"
, ornull
(no not sort).- .object
Directly input an object, rather than creating one via the other arguments. Should not be used in conjunction with the other arguments other than
spec
. Objects can be of type: SortByEncoding