Skip to content

chart_sparkline

  • Accepts: number_series
  • Animates: no
OptionTypeRequiredDefaultDescription
labelstringnoOptional inline prefix rendered to the left of the sparkline bars.
style"bars" | "line"no"bars"Visual treatment. bars uses ratatui's block glyphs (default); line draws a single-row Braille line across the values.

Overridable via the [theme] section of config.toml.

KeyDescription
textPrimary body text colour for plain renderers (text_plain, text_ascii, list_plain, animated_typewriter). The top step of the chrome ladder — brighter than text_secondary, reads as diffuse daylight on the ocean surface. Set text = "reset" to inherit the terminal's own foreground instead.
text_dimBarely-visible chrome text: timeline date prefixes, empty-state placeholder, clip hint. Replaces the old Modifier::DIM usage — set an explicit colour so rendering stays consistent across terminals (some render DIM as invisible, some as a no-op).
ShapeFetchers
number_seriesbasic_read_store, git_commits_activity, github_action_history