feat: initial release v0.3.0
- Support 9 chart types: line, bar, pie, scatter, bubble, donut, mixed, polar, radar - Multi-format output: ANSI, SVG, PNG, Markdown - Go + Fiber + gonum/plot - Docker support - Morandi color palette
This commit is contained in:
14
internal/renderer/renderer.go
Normal file
14
internal/renderer/renderer.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package renderer
|
||||
|
||||
import "github.com/picoclaw/chart/internal/types"
|
||||
|
||||
type Renderer interface {
|
||||
Render(chart *types.Chart) ([]byte, error)
|
||||
}
|
||||
|
||||
type RenderResult struct {
|
||||
Text string
|
||||
ANSI string
|
||||
SVG string
|
||||
PNG []byte
|
||||
}
|
||||
Reference in New Issue
Block a user