The name of the scale to use for including grid lines. The pixel offset at which to start the grid dash array. Stroke dash of axis grid lines (or for solid lines). One of "butt" (default), "round" or "square". Supported ≥ 5.1, UTC support ≥ 5.8.Ī boolean flag indicating if grid lines should be included as part of the axis (default false). If specified, the format property must have a valid specifier pattern for the given type. This property is useful for formatting date-time values for band or point scales. Specifies the type of format to use ( "number", "time", "utc") for scales that do not have a strict domain data type. For date-time values, must be a legal d3-time-format specifier or a TimeMultiFormat object. For numerical values, must be a legal d3-format specifier. The format specifier pattern for axis labels. Supports encoding blocks for axis, ticks, grid, labels, title, and domain. Optional mark encodings for custom axis styling. The pixel offset at which to start the domain dash array. Stroke dash of axis domain lines (or for solid lines). A value of 0.5 places ticks in the middle of their bands.Ī boolean flag indicating if the domain (the axis baseline) should be included as part of the axis (default true). A value of 0 places ticks at the left edge of their bands. See the axis orientation reference.Īn interpolation fraction indicating where, for band scales, axis ticks should be positioned. The name of the scale backing the axis component. Properties for specifying a coordinate axis. Similar to scales, axes can be defined either at the top-level of the specification, or as part of a group mark. Vega currently supports axes for Cartesian (rectangular) coordinates. Axes visualize spatial scale mappings using ticks, grid lines and labels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |