pie

class pie(val x: Number? = null, val y: Number? = null, val slice: Number? = null, val explode: Number? = null, val size: Number? = null, val fill: Any? = null, val alpha: Number? = null, val color: Any? = null, val stroke: Number? = null, val hole: Number? = null, val strokeSide: String? = null, val spacerWidth: Number? = null, val spacerColor: Any? = null, val start: Number? = null, val direction: Int? = null, val sizeUnit: String? = null, val fillBy: String? = null, val colorBy: String? = null, val mapping: PieMapping.() -> Unit = {}) : GeomOptions, PieAesthetics, PieParameters, WithSizeUnitOption, WithFillOption, WithColorOption

Constructors

Link copied to clipboard
constructor(x: Number? = null, y: Number? = null, slice: Number? = null, explode: Number? = null, size: Number? = null, fill: Any? = null, alpha: Number? = null, color: Any? = null, stroke: Number? = null, hole: Number? = null, strokeSide: String? = null, spacerWidth: Number? = null, spacerColor: Any? = null, start: Number? = null, direction: Int? = null, sizeUnit: String? = null, fillBy: String? = null, colorBy: String? = null, mapping: PieMapping.() -> Unit = {})

Properties

Link copied to clipboard
open override val alpha: Number? = null

Transparency level of a layer. Understands numbers between 0 and 1.

Link copied to clipboard
open override val color: Any? = null

Color of inner and outer arcs of pie sector. For more info see: aesthetics.html#color-and-fill.

Link copied to clipboard
open override val colorBy: String? = null

default = "color" ("fill", "color", "paint_a", "paint_b", "paint_c"). Defines the color aesthetic for the layer.

Link copied to clipboard
open override val direction: Int? = null

Specify angle direction, 1=clockwise, -1=counter-clockwise.

Link copied to clipboard
open override val explode: Number? = null

Values to explode slices away from their center point, detaching it from the main pie.

Link copied to clipboard
open override val fill: Any? = null

Fill color. For more info see: aesthetics.html#color-and-fill.

Link copied to clipboard
open override val fillBy: String? = null

default = "fill" ("fill", "color", "paint_a", "paint_b", "paint_c"). Defines the fill aesthetic for the layer.

Link copied to clipboard
open override val hole: Number? = null

A multiplicative factor applied to the pie diameter to draw donut-like chart. Understands numbers between 0 and 1.

Link copied to clipboard
val kind: GeomKind
Link copied to clipboard
val mapping: Options
Link copied to clipboard
open override val parameters: Options
Link copied to clipboard
open override val size: Number? = null

Pie diameter.

Link copied to clipboard
open override val sizeUnit: String? = null

Relate the size to the length of the unit step along one of the axes. "x" uses the unit step along the x-axis, "y" uses the unit step along the y-axis. "min" uses the smaller of the unit steps along the x- and y-axes. "max" uses the larger of the unit steps along the x- and y-axes. If not specified, no fitting is performed.

Link copied to clipboard
open override val slice: Number? = null

Values associated to pie sectors.

Link copied to clipboard
open override val spacerColor: Any? = null

Color for spacers between sectors. By default, the "paper" color is used. For more info see: aesthetics.html#color-and-fill.

Link copied to clipboard
open override val spacerWidth: Number? = null

Line width between sectors. Spacers are not applied to exploded sectors and to sides of adjacent sectors.

Link copied to clipboard
open override val start: Number? = null

Specify the angle at which the first sector starts. Accept values between 0 and 360. Default is a negative angle of the first sector.

Link copied to clipboard
open override val stroke: Number? = null

Width of inner and outer arcs of pie sector.

Link copied to clipboard
open override val strokeSide: String? = null

Defines which arcs of pie sector should have a stroke.

Link copied to clipboard
open override val x: Number? = null

X-axis value.

Link copied to clipboard
open override val y: Number? = null

Y-axis value.