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

Source Files