Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LayoutItem

Hierarchy

  • LayoutItem

Index

Properties

Optional bottom

bottom?: number

Bottom edge of the item. Set by layout system and cannot be used in update

Optional fullSize

fullSize?: boolean

if true, and the item is horizontal, then push vertical boxes down

Optional height

height?: number

Height of item. Must be valid after update()

Optional left

left?: number

Left edge of the item. Set by layout system and cannot be used in update

Optional position

position?: LayoutPosition

The position of the item in the chart layout. Possible values are

Optional right

right?: number

Right edge of the item. Set by layout system and cannot be used in update

Optional top

top?: number

Top edge of the item. Set by layout system and cannot be used in update

Optional weight

weight?: number

The weight used to sort the item. Higher weights are further away from the chart area

Optional width

width?: number

Width of item. Must be valid after update()

Methods

Optional beforeLayout

  • beforeLayout(): void

draw

Optional getPadding

isHorizontal

  • isHorizontal(): boolean

update

  • update(width?: number, height?: number, margins?: ChartArea): void

Generated using TypeDoc