Documentation ¶
Index ¶
- type Axis
- type Option
- func Decimals(decimals int) Option
- func Label(label string) Option
- func Max(value float64) Option
- func Min(value float64) Option
- func Placement(placement PlacementMode) Option
- func Scale(mode ScaleMode) Option
- func SoftMax(value int) Option
- func SoftMin(value int) Option
- func Unit(unit string) Option
- type PlacementMode
- type ScaleMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Axis ¶
type Axis struct {
// contains filtered or unexported fields
}
Axis represents a visualization axis.
type Option ¶
Option represents an option that can be used to configure an axis.
func Placement ¶
func Placement(placement PlacementMode) Option
Placement defines how the axis should be placed in the panel.
type PlacementMode ¶
type PlacementMode string
PlacementMode represents the axis display placement mode.
const ( Hidden PlacementMode = "hidden" Auto PlacementMode = "auto" Left PlacementMode = "left" Right PlacementMode = "right" )
Click to show internal directories.
Click to hide internal directories.