go-chart/renderable.go

5 lines
166 B
Go

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