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:
9
internal/renderer/utils.go
Normal file
9
internal/renderer/utils.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package renderer
|
||||
|
||||
func getColor(index int) string {
|
||||
colors := []string{
|
||||
"#f9c2c8", "#f3d2b1", "#e1e9c5", "#b2d5e8",
|
||||
"#8fa3c4", "#75B4A0", "#3b7f8d", "#a18b7c",
|
||||
}
|
||||
return colors[index%len(colors)]
|
||||
}
|
||||
Reference in New Issue
Block a user