Optional ReadonlyaxisColour of the axis rules themselves, as distinct from their text.
Optional ReadonlygridThe horizontal gridlines behind the plot. Absent draws none.
Optional Readonlycolor?: stringTheir colour.
Optional Readonlyshow?: booleanDraw them. Absent draws none, so the object alone is not enough.
Optional ReadonlyinnerA doughnut's hole, as a fraction of its outer radius.
v1's outerRadius * (innerRadius ?? 0.6), so the default is the same hole
and a caller can change it. Ignored by the other three kinds, as v1
ignores it.
Optional ReadonlylabelColour of the category labels.
Optional ReadonlylabelType size for the category labels, in pixels.
Optional ReadonlylegendWhich side the legend sits on.
Optional ReadonlyrenderDraw the label beside each value yourself.
The signature is v1's and the contract is not. v1 lays the returned node out detached during painting and draws it at a position derived from its measured size. Here the node is placed — centred on the same point by ordinary layout — so it participates in the scene rather than being measured and discarded.
Optional ReadonlyrenderAs renderLabelItem, for one legend entry.
Optional ReadonlyrenderAs renderLabelItem, for the value drawn against each bar.
Optional ReadonlyshowDraw the category names along the x axis.
Optional ReadonlyshowDraw the legend. A chart whose series have no label has nothing to put in it.
Optional ReadonlyshowDraw each datum's own number beside it.
Optional ReadonlyshowDraw the y axis and its scale.
Optional ReadonlyvalueColour of the per-datum values.
Optional ReadonlyvalueType size for the per-datum values.
Optional ReadonlyxFormats a category label before it is drawn. v1 passes the index too.
Optional ReadonlyyColour of the y axis scale text.
Optional ReadonlyyType size for the y axis scale.
Optional ReadonlyyFormats a y axis number before it is drawn — for a unit, a currency or a thousands separator.
Receives the raw value, so the formatter decides the rounding as well as the text.
Options every chart understands, as v1 spells them.