Description Usage Arguments References
Text config
1 2 3 |
vl |
a Vega-Lite object |
angle |
rotation angle of the text, in degrees. |
align |
horizontal alignment of the text. One of left, right, center. |
baseline |
vertical alignment of the text. One of top, middle, bottom. |
dx, dy |
horizontal/vertical in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property. |
radius |
polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties. |
theta |
polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating “north”. |
format |
ormatting pattern for text value. If not defined, this will be determined automatically |
short_time_labels |
whether month names and weekday names should be abbreviated. |
opacity |
0-1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.