Discover Packages
github.com/anil-appface/grabana
heatmap
axis
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: May 5, 2024
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
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 the Y axis of a heatmap.
New creates a new YAxis configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.