OptionalangleSlice size in pie and doughnut charts. The slices are named by x.
OptionalcloseClosing value in a candlestick plot.
OptionalcolorMaps a field to a color through a scale, for example a series name through an ordinal
scale with explicit colors.
When absent, colors are automatic: each series gets a theme accent color (see ChartSeries.colorIndex), or, when ChartPlot.varyColors is set, each data point does.
OptionalhighHighest value in a candlestick plot.
OptionallowLowest value in a candlestick plot.
OptionalopenOpening value in a candlestick plot. Each stock series feeds one of open, high, low, and
close through its own encoding.
OptionalradiusDistance from the center in a plot with polar coordinates.
OptionalseriesSays that the plot separates its records by series. It's always { field: 'series' }: every
evaluated record holds its series' ChartSeries.key in the reserved series field. This
channel has no scale.
OptionalsizeBubble size.
OptionaltextLabel text: the field whose values data labels show when their show list includes
cellRange (Excel's "Value From Cells"). The field's binding has the label role and the
formula of the source range.
OptionalxHorizontal position, usually the category field. In a plot with polar coordinates (an arc
plot), which has no horizontal axis, x names the slices: the category field. This keeps the
category on the same channel as in bar and line plots, so changing a chart between pie and
bar only changes the mark.
Optionalx2End of a horizontal range that starts at x. A histogram's bars run from each bin's start
(x) to its end (x2).
OptionalyVertical position, usually the value field. In a horizontal bar chart, and in a funnel, y
is the category instead, and x the value.
Optionaly2End of a vertical range that starts at y.
OptionalzDepth position in a 3D chart. A 3D column chart with standard grouping places each series
in its own row, front to back, by encoding the series field here.
Maps data fields to visual channels.
A plot's encoding names every field its mark reads, so no one has to rely on field names. The channels each mark needs, besides
series:bar,line,areaxandy: the category (or X) and the value. Bins addx2.pointxandy. A bubble plot addssize.arcx(the slice names) andangle(the slice sizes).candlestickx(the category). Series feedopen,high,low, orclose.surfacexandy, andzwhen the chart has a series axis.boxplot,waterfallx(the category) andy(the value).funnely(the category) andx(the value).treemap,sunbursthierarchytransform names the level and value fields.