row

package
v0.17.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(row *Row)

Option represents an option that can be used to configure a row.

func Collapse added in v0.17.0

func Collapse() Option

Collapse makes the row collapsed by default.

func HideTitle

func HideTitle() Option

HideTitle ensures that the title of the row will NOT be displayed.

func RepeatFor added in v0.12.7

func RepeatFor(variable string) Option

RepeatFor will repeat the row for all values of the given variable.

func ShowTitle

func ShowTitle() Option

ShowTitle ensures that the title of the row will be displayed.

func WithGraph

func WithGraph(title string, options ...graph.Option) Option

WithGraph adds a "graph" panel in the row.

func WithHeatmap added in v0.13.0

func WithHeatmap(title string, options ...heatmap.Option) Option

WithHeatmap adds a "heatmap" panel in the row.

func WithSingleStat added in v0.3.0

func WithSingleStat(title string, options ...singlestat.Option) Option

WithSingleStat adds a "single stat" panel in the row.

func WithTable

func WithTable(title string, options ...table.Option) Option

WithTable adds a "table" panel in the row.

func WithText

func WithText(title string, options ...text.Option) Option

WithText adds a "text" panel in the row.

type Row

type Row struct {
	// contains filtered or unexported fields
}

Row represents a dashboard row.

func New

func New(board *sdk.Board, title string, options ...Option) *Row

New creates a new row.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL