graph

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(title string, collections ...*RawCollection)

Types

type Collection

type Collection interface {
	Title() string
	Add(index string, x ...float64)
	NewSeries(index string, labels ...string)
}

type RawCollection

type RawCollection struct {
	// contains filtered or unexported fields
}

func New

func New(title string) *RawCollection

func (*RawCollection) Add

func (r *RawCollection) Add(index string, x ...float64)

func (*RawCollection) NewSeries

func (r *RawCollection) NewSeries(index string, labels ...string)

func (RawCollection) Series

func (r RawCollection) Series() map[string]model.Collection

func (RawCollection) Title

func (r RawCollection) Title() string

Jump to

Keyboard shortcuts

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