Discover Packages
github.com/K-Phoen/grabana
heatmap
axis
package
Version:
v0.19.3
Opens a new window with list of versions in this module.
Published: Dec 18, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type Option type SDKAxis type YAxis Decimals(decimals) Max(max) Min(min) Unit(unit) New(options)
Documentation
¶
type Option func(axis *YAxis )
Option represents an option that can be used to configure a Y axis.
Decimals set the number of decimals to be displayed on the axis.
Max sets the maximum value expected on this axis.
Min sets the minimum value expected on this axis.
Unit sets the unit of the data displayed on this axis.
type SDKAxis struct {
Decimals *int `json:"decimals"`
Format string `json:"format"`
LogBase int `json:"logBase"`
Show bool `json:"show"`
Max *string `json:"max"`
Min *string `json:"min"`
SplitFactor *float64 `json:"splitFactor"`
}
type YAxis struct {
Builder *SDKAxis
}
YAxis represents a the Y axis of a heatmap.
New creates a new YAxis configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.