Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DashboardCellOptions

Interface for minimum set of parameters required for adding charts / panels to a dashboard cell.

Example usage:

// 1x1 component at top left cell
{ columnIndex: 0, rowIndex: 0, columnSpan: 1, rowSpan: 1 }
// 4x1 component at top row
{ columnIndex: 0, rowIndex: 0, columnSpan: 4, rowSpan: 1 }

Index

Properties

columnIndex

columnIndex : number

Column index on dashboard (X location, 0 = left)

Optional columnSpan

columnSpan : undefined | number

Column span (X width), default = 1

Optional disableAnimations

disableAnimations : undefined | false | true

Optional flag that can be used to disable all animations by default.

rowIndex

rowIndex : number

Row index on dashboard (Y location, 0 = top)

Optional rowSpan

rowSpan : undefined | number

Row span (Y height), default = 1

Optional theme

theme : Theme

Theme used to style all elements inside the component. See Themes for pre-made options.