api tweaks.

This commit is contained in:
Will Charczuk 2016-07-14 18:29:06 -07:00
parent 4c1cf35733
commit 7bce09c859
2 changed files with 30 additions and 15 deletions

View file

@ -1,4 +1,4 @@
package chart
// Renderable is a function that can be called to render custom elements on the chart.
type Renderable func(r Renderer, canvasBox Box)
type Renderable func(r Renderer, canvasBox Box, defaults Style)