charts

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Font

type Font struct {
	Family string `json:"family"`
	Size   int    `json:"size"`
}

type Heatmap

type Heatmap struct {
	Z           [][]float64 `json:"z"`
	X           []string    `json:"x"`
	Y           []string    `json:"y"`
	Type        string      `json:"type"`
	HoverOnGaps bool        `json:"hoverongaps"`
	ColorScale  string      `json:"colorscale"`
}

func NewHeatmap

func NewHeatmap(
	z [][]float64,
	x []string,
	y []string,
) Heatmap

func NewHeatmapData

func NewHeatmapData(
	z [][]float64,
	x []string,
	y []string,
) []Heatmap

type Title

type Title struct {
	Text string  `json:"text"`
	Font Font    `json:"font"`
	Xref string  `json:"xref"`
	X    float64 `json:"x"`
}

func NewTitle

func NewTitle(text string) Title

Jump to

Keyboard shortcuts

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