row

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: MIT Imports: 5 Imported by: 0

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 HideTitle

func HideTitle() Option

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

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 WithSingleStat

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