go-chart/series.go

11 lines
220 B
Go
Raw Normal View History

2016-07-07 03:54:00 +02:00
package chart
2016-07-10 10:11:47 +02:00
// Series is an alias to Renderable.
2016-07-07 03:54:00 +02:00
type Series interface {
GetName() string
2016-08-01 01:54:09 +02:00
GetYAxis() YAxisType
2016-07-13 05:34:59 +02:00
GetStyle() Style
2017-02-03 20:26:53 +01:00
Validate() error
2016-07-13 04:14:14 +02:00
Render(r Renderer, canvasBox Box, xrange, yrange Range, s Style)
2016-07-07 03:54:00 +02:00
}