Skip to main content
Charts render as native vector graphics with no image step. A chart block carries the kind, the data, and a few display options.

Chart data

The data shape depends on the kind.

bar, line, area

Read labels and series. Each series is a named set of values.

pie, donut

Read slices. Each slice is a labeled value.

Bar chart with two series

Donut chart with slices

Series and slice colors accept a hex string or a Color, since ColorLike = string | Color. See Color for building and converting colors.