Raxol.Core.Renderer.Views.Chart (Raxol v0.2.0)
View SourceChart view component for data visualization.
Supports:
- Bar charts (vertical and horizontal)
- Line charts
- Sparklines
- Axes and labels
- Multiple series
- Custom styling
Summary
Types
@type chart_type() :: :bar | :line | :sparkline
@type options() :: [ type: chart_type(), orientation: orientation(), series: [series()], width: non_neg_integer(), height: non_neg_integer(), show_axes: boolean(), show_labels: boolean(), show_legend: boolean(), min: number() | :auto, max: number() | :auto, style: Raxol.Core.Renderer.View.style() ]
@type orientation() :: :vertical | :horizontal
@type series() :: %{ name: String.t(), data: [number()], color: Raxol.Core.Renderer.View.color() }