adding GetName() to the series interface

This commit is contained in:
Will Charczuk 2016-07-14 16:31:26 -07:00
parent 90b30ed59b
commit 4ce696d424

View File

@ -2,6 +2,7 @@ package chart
// Series is an alias to Renderable. // Series is an alias to Renderable.
type Series interface { type Series interface {
GetName() string
GetYAxis() YAxisType GetYAxis() YAxisType
GetStyle() Style GetStyle() Style
Render(r Renderer, canvasBox Box, xrange, yrange Range, s Style) Render(r Renderer, canvasBox Box, xrange, yrange Range, s Style)