heatmap

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const PluginKind = "HeatMapChart"

Variables

This section is empty.

Functions

func Chart

func Chart(options ...Option) panel.Option

Types

type Builder

type Builder struct {
	PluginSpec `json:",inline" yaml:",inline"`
}

type Option

type Option func(plugin *Builder) error

func CountFormat

func CountFormat(format common.Format) Option

func ShowVisualMap

func ShowVisualMap(show bool) Option

func YAxisFormat

func YAxisFormat(format common.Format) Option

type PluginSpec

type PluginSpec struct {
	YAxisFormat   *common.Format `json:"yAxisFormat,omitempty" yaml:"yAxisFormat,omitempty"`
	CountFormat   *common.Format `json:"countFormat,omitempty" yaml:"countFormat,omitempty"`
	ShowVisualMap bool           `json:"showVisualMap,omitempty" yaml:"showVisualMap,omitempty"`
}

Jump to

Keyboard shortcuts

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