Expand description
A chart laid out at a size: every mark, axis and label in pixels from the chart’s top-left corner, with no window involved.
Bars sharing a band stack, positive values up and negative down. Lines,
areas and points take their series in ascending x, and a missing y breaks
a line or area. A channel’s Scale and Sort shape its domain, and its
title sits under the bottom axis or over the left one.
Structs§
- Axis
gridfor an axis of values, whose ticks run lines across the plot.- Label
- A line of text one line high, its top-left at
at,widthas measured. - Plan
- Rect
- Series
- One colour’s marks in one layer.
nameis its value of the colour field. - Slice
- Angles in radians, clockwise from twelve o’clock.
- Swatch
- Tick
atis x on a bottom axis and y on a left one.- Tip
- What is under the pointer.
Enums§
Functions§
- plan
chartlaid out atsize, its labelslinehigh and as wide asmeasuresays.Nonefor what cannot be drawn: a field the data does not hold, a quantitative field over text, a colour that is not discrete, layers that disagree on which axis is discrete, a layered arc, or a size too small to hold a plot.