Interface for specifying properties of a box.

Non-geometry properties are explained in BoxData interface.

This interface defines the box using a center coordinate and size. For another geometry definitions, see:

Hierarchy

Properties

color?: Color

Color of this box, when the series is styled as IndividualPointFill.

id?: string | number

Identifier of this box.

Can be used to alter the boxes' properties afterwards.

value?: number

Look-up value for this box, when the series is styled as PalettedFill.

Determines the color of the box.

xCenter: number

Center X coordinate of Box.

xSize: number

X size of Box. Applied both ways from 'xCenter' divided by 2.

yCenter: number

Center Y coordinate of Box.

ySize: number

Y size of Box. Applied both ways from 'yCenter' divided by 2.

zCenter: number

Center Z coordinate of Box.

zSize: number

Z size of Box. Applied both ways from 'zCenter' divided by 2.