Raxol. UI. Charts. LineChart
(Raxol v2.6.0)
View Source
Braille-resolution line chart with multicolor multi-series support.
Renders data as connected lines using Bresenham's algorithm at braille dot resolution (2x width, 4x height), producing cell tuples compatible with the HUD rendering pattern.
Summary
Functions
Renders a line chart into cell tuples.
Types
@type cell() :: Raxol.UI.Charts.ChartUtils.cell()
Functions
@spec render( {non_neg_integer(), non_neg_integer(), pos_integer(), pos_integer()}, [series()], keyword() ) :: [cell()]
Renders a line chart into cell tuples.
Options
show_axes-- render Y-axis labels and line (default: false)show_legend-- render series legend below chart (default: false)min-- Y-axis minimum (default::auto)max-- Y-axis maximum (default::auto)