legend

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(opts Options, img image.Image) (image.Image, error)

Render puts the legend on the image and returns the be-legened image

Types

type Options

type Options struct {
	FormatString  string
	GradientTable pattern.GradientTable
	MaxVal        float64
	MinVal        float64
	Steps         int
	Title         string
}

Options configures the legend

Jump to

Keyboard shortcuts

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