Packages

Sparkline generator for Gleam — Unicode block output for terminals, SVG output for the browser, and PNG byte arrays. Themed colour schemes, anti-aliased PNG, runs on Erlang and JavaScript.

Current section

Files

Jump to
sparklinekit include sparklinekit@line_Builder.hrl
Raw

include/sparklinekit@line_Builder.hrl

-record(builder, {
values :: list(float()),
theme :: sparklinekit@theme:theme(),
color :: binary(),
background :: binary(),
width :: integer(),
height :: integer(),
stroke_width :: float(),
area :: sparklinekit@line:area_fill(),
area_enabled :: boolean(),
smoothing :: float(),
spot_radius :: float(),
spot_color :: binary(),
gradient_area :: boolean()
}).