Skip to content

row

grafonnet.panel.row

Index

Fields

fn new

new(title)

PARAMETERS:

  • title (string)

Creates a new row panel with a title.

fn withCollapsed

withCollapsed(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Whether this row should be collapsed or not.

fn withDatasource

withDatasource(value)

PARAMETERS:

  • value (object)

Ref to a DataSource instance

fn withDatasourceMixin

withDatasourceMixin(value)

PARAMETERS:

  • value (object)

Ref to a DataSource instance

fn withGridPos

withGridPos(y)

PARAMETERS:

  • y (number)

withGridPos sets the Y-axis on a row panel. x, width and height are fixed values.

fn withGridPosMixin

withGridPosMixin(value)

PARAMETERS:

  • value (object)

Position and dimensions of a panel in the grid

fn withId

withId(value)

PARAMETERS:

  • value (integer)

Unique identifier of the panel. Generated by Grafana when creating a new panel. It must be unique within a dashboard, but not globally.

fn withPanels

withPanels(value)

PARAMETERS:

  • value (array)

fn withPanelsMixin

withPanelsMixin(value)

PARAMETERS:

  • value (array)

fn withRepeat

withRepeat(value)

PARAMETERS:

  • value (string)

Name of template variable to repeat for.

fn withTitle

withTitle(value)

PARAMETERS:

  • value (string)

Row title

fn withType

withType()

obj datasource

fn datasource.withType

datasource.withType(value)

PARAMETERS:

  • value (string)

The plugin type-id

fn datasource.withUid

datasource.withUid(value)

PARAMETERS:

  • value (string)

Specific datasource instance