Versions in this module Expand all Collapse all v1 v1.0.0 Feb 20, 2026 Changes in this version + type AreaChart struct + Color string + Data dataviz.AreaChartData + DesignTokens *design.DesignTokens + Height int + Theme string + Width int + func NewAreaChart(data dataviz.AreaChartData) *AreaChart + func (a *AreaChart) Render() string + func (a *AreaChart) ToStyledNode() *renderer.StyledNode + func (a *AreaChart) WithColor(c string) *AreaChart + func (a *AreaChart) WithDesignTokens(tokens *design.DesignTokens) *AreaChart + func (a *AreaChart) WithSize(width, height int) *AreaChart + func (a *AreaChart) WithTheme(theme string) *AreaChart + type BarChart struct + Color string + Data dataviz.BarChartData + DesignTokens *design.DesignTokens + Height int + Theme string + Width int + func NewBarChart(data dataviz.BarChartData) *BarChart + func (b *BarChart) ToStyledNode() *renderer.StyledNode + func (b *BarChart) WithColor(c string) *BarChart + func (b *BarChart) WithDesignTokens(tokens *design.DesignTokens) *BarChart + func (b *BarChart) WithSize(width, height int) *BarChart + func (b *BarChart) WithTheme(theme string) *BarChart + type Collapsible struct + Border renderer.BorderChars + BorderColor *color.Color + Content string + Expanded bool + Foreground *color.Color + Title string + TitleColor *color.Color + func NewCollapsible(title, content string) *Collapsible + func (c *Collapsible) ToStyledNode() *renderer.StyledNode + func (c *Collapsible) Toggle() + type Heatmap struct + Color string + Data dataviz.HeatmapData + DesignTokens *design.DesignTokens + Height int + Theme string + Width int + func NewHeatmap(data dataviz.HeatmapData) *Heatmap + func (h *Heatmap) ToStyledNode() *renderer.StyledNode + func (h *Heatmap) WithColor(c string) *Heatmap + func (h *Heatmap) WithDesignTokens(tokens *design.DesignTokens) *Heatmap + func (h *Heatmap) WithSize(width, height int) *Heatmap + func (h *Heatmap) WithTheme(theme string) *Heatmap + type LineGraph struct + Color string + Data dataviz.LineGraphData + DesignTokens *design.DesignTokens + Height int + Theme string + Width int + func NewLineGraph(data dataviz.LineGraphData) *LineGraph + func (l *LineGraph) ToStyledNode() *renderer.StyledNode + func (l *LineGraph) WithColor(c string) *LineGraph + func (l *LineGraph) WithDesignTokens(tokens *design.DesignTokens) *LineGraph + func (l *LineGraph) WithSize(width, height int) *LineGraph + func (l *LineGraph) WithTheme(theme string) *LineGraph + type LoadingDots struct + Foreground *color.Color + Interval time.Duration + LastUpdate time.Time + MaxPhases int + Phase int + func NewLoadingDots() *LoadingDots + func (l *LoadingDots) ToStyledNode() *renderer.StyledNode + func (l *LoadingDots) Update(now time.Time) bool + type MessageBlock struct + Background *color.Color + Border renderer.BorderChars + BorderColor *color.Color + Foreground *color.Color + Text string + func NewMessageBlock(text string) *MessageBlock + func (m *MessageBlock) ToStyledNode() *renderer.StyledNode + func (m *MessageBlock) WithBackground(c *color.Color) *MessageBlock + func (m *MessageBlock) WithBorder(border renderer.BorderChars) *MessageBlock + func (m *MessageBlock) WithBorderColor(c *color.Color) *MessageBlock + func (m *MessageBlock) WithForeground(c *color.Color) *MessageBlock + type ProgressBar struct + Background *color.Color + Foreground *color.Color + Progress float64 + Width int + func NewProgressBar(width int) *ProgressBar + func (p *ProgressBar) SetProgress(progress float64) + func (p *ProgressBar) ToStyledNode() *renderer.StyledNode + type ScatterPlot struct + Color string + Data dataviz.ScatterPlotData + DesignTokens *design.DesignTokens + Height int + Theme string + Width int + func NewScatterPlot(data dataviz.ScatterPlotData) *ScatterPlot + func (s *ScatterPlot) Render() string + func (s *ScatterPlot) ToStyledNode() *renderer.StyledNode + func (s *ScatterPlot) WithColor(c string) *ScatterPlot + func (s *ScatterPlot) WithDesignTokens(tokens *design.DesignTokens) *ScatterPlot + func (s *ScatterPlot) WithSize(width, height int) *ScatterPlot + func (s *ScatterPlot) WithTheme(theme string) *ScatterPlot + type SpinnerDots struct + Foreground *color.Color + Interval time.Duration + LastUpdate time.Time + Phase int + func NewSpinnerDots() *SpinnerDots + func (s *SpinnerDots) ToStyledNode() *renderer.StyledNode + func (s *SpinnerDots) Update(now time.Time) bool + type StatCard struct + Color string + Data dataviz.StatCardData + DesignTokens *design.DesignTokens + Height int + Theme string + Width int + func NewStatCard(data dataviz.StatCardData) *StatCard + func (s *StatCard) ToStyledNode() *renderer.StyledNode + func (s *StatCard) WithColor(c string) *StatCard + func (s *StatCard) WithDesignTokens(tokens *design.DesignTokens) *StatCard + func (s *StatCard) WithSize(width, height int) *StatCard + func (s *StatCard) WithTheme(theme string) *StatCard