plot

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BarChart

func BarChart(title string, xLabel []string, percentages []float64) (err error)

BarChart plots a multibar chart

func MultipleLineChart

func MultipleLineChart(title, xLabel, yLabel string, data map[string]Coordinates) (err error)

MultipleLineChart saves a multiple linechart based on x and y data passed to the function

Types

type Coordinates

type Coordinates struct {
	X []float64 `json:"x"`
	Y []float64 `json:"y"`
}

Coordinates wraps x and y coordinates to show on plot

Jump to

Keyboard shortcuts

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