This layer is used to create small lines. The orientation of the line is determined by the positional
encoding properties x0 and y0. The mark type of the layer is ```tick```.
Methods
translatePoints(data, encoding, axes) → {Array.<Object>}
Generates an array of objects containing x, y, width and height of the points from the data
Parameters:
Name | Type | Description |
---|---|---|
data |
Array.<Array> | Data Array |
encoding |
Object | Config |
axes |
Object | Axes object |
Returns:
Array of points
- Type
- Array.<Object>