Skip to main content

Module plan

Module plan 

Source
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
grid for an axis of values, whose ticks run lines across the plot.
Label
A line of text one line high, its top-left at at, width as measured.
Plan
Rect
Series
One colour’s marks in one layer. name is its value of the colour field.
Slice
Angles in radians, clockwise from twelve o’clock.
Swatch
Tick
at is x on a bottom axis and y on a left one.
Tip
What is under the pointer.

Enums§

Marks
Side

Functions§

plan
chart laid out at size, its labels line high and as wide as measure says. None for 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.