Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection interface { Bounds() *f32.Rectangle Next() (point *LabeledPoint, ok, next bool) Size() int Reset() Labels() []string Style() style.Properties }
TODO : embed the data model collection into the interface
func NewSeries ¶
func NewSeries(collection model.Collection, style style.Properties) Collection
type LabeledPoint ¶
type Series ¶
type Series struct { model.Collection // contains filtered or unexported fields }
func (Series) Next ¶
func (s Series) Next() (point *LabeledPoint, ok, next bool)
func (Series) Style ¶
func (s Series) Style() style.Properties
Click to show internal directories.
Click to hide internal directories.