Documentation
¶
Index ¶
- Constants
- func RenderBarChart(data ChartData, style lipgloss.Style, accentColor, textColor lipgloss.Color) string
- func RenderLineChart(data ChartData, style lipgloss.Style, accentColor, textColor lipgloss.Color) string
- func RenderPieChart(data ChartData, style lipgloss.Style, colors []lipgloss.Color, ...) string
- func RenderSparkline(data ChartData, accentColor lipgloss.Color) string
- type ChartData
- type ChartType
Constants ¶
View Source
const ( ChartHeight = 15 ChartWidth = 60 )
Variables ¶
This section is empty.
Functions ¶
func RenderBarChart ¶
func RenderBarChart(data ChartData, style lipgloss.Style, accentColor, textColor lipgloss.Color) string
RenderBarChart creates a beautiful ASCII bar chart
func RenderLineChart ¶
func RenderLineChart(data ChartData, style lipgloss.Style, accentColor, textColor lipgloss.Color) string
RenderLineChart creates an ASCII line chart
Types ¶
Click to show internal directories.
Click to hide internal directories.