Skip to content

feat: add Chart, BarChart, Canvas components and enhance Viewport#41

Merged
meszmate merged 5 commits intomainfrom
feature/charts-graphs
Mar 6, 2026
Merged

feat: add Chart, BarChart, Canvas components and enhance Viewport#41
meszmate merged 5 commits intomainfrom
feature/charts-graphs

Conversation

@meszmate
Copy link
Owner

@meszmate meszmate commented Mar 6, 2026

Changes

  • Add Chart component with multi-dataset support, axes, grid, legends, and interpolation modes (linear, stepped, catmull-rom, monotone cubic)
  • Add BarChart component with horizontal/vertical orientation and positive/negative baselines
  • Add Canvas component for braille/block/dot/ascii plotting
  • Enhance Sparkline with bucketing, gradients, summary modes, and configurable glyphs
  • Enhance Viewport with word wrap, ANSI-aware horizontal scrolling, and customizable scrollbar chars/styles
  • Add shared charting module for common types (Point, DataRange, Marker, etc.)
  • Add Charts tab to showcase example
  • Add standalone charts example with static snapshots and live sampled updates
  • Add chart and viewport tests
  • Update README with docs for all new components

@meszmate meszmate merged commit 6262b08 into main Mar 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant