labels

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2023 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LabelOpts

type LabelOpts struct {
	Labels     []string
	UnderLying []string
	// contains filtered or unexported fields
}

func (*LabelOpts) Label

func (l *LabelOpts) Label(i int) string

func (*LabelOpts) SetLabels

func (l *LabelOpts) SetLabels(labels []string, values []any)

Set the labels for a graph.

func (*LabelOpts) SetPosition

func (l *LabelOpts) SetPosition(x, y float64, textSize int)

func (*LabelOpts) UnderlyingLabel

func (l *LabelOpts) UnderlyingLabel(i int) string

func (*LabelOpts) WriteLabel

func (l *LabelOpts) WriteLabel(ctx context.Context2D, i int)

Jump to

Keyboard shortcuts

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