Files
titor ba927c2b2f 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
2026-04-16 04:33:02 +08:00

10 lines
204 B
Go

package renderer
func getColor(index int) string {
colors := []string{
"#f9c2c8", "#f3d2b1", "#e1e9c5", "#b2d5e8",
"#8fa3c4", "#75B4A0", "#3b7f8d", "#a18b7c",
}
return colors[index%len(colors)]
}