Repository navigation
v0.3.0
Fixed
- README: the three sparkline sample images (
sparkline-line.png,sparkline-bar.png,sparkline-mixed-bar.png) now use absoluteraw.githubusercontent.comURLs instead of the relativedocs/images/...paths so they render both on GitHub and on the Hex package page (the relative paths cannot be resolved against the published package archive, which omits thedocs/images/directory). (#7) line.with_area_fill(True)now anchors the area to the zero baseline: all-positive series fill to the viewBox bottom (legacy behaviour, unchanged), all-negative series fill upward to the viewBox top, and mixed-sign series fill toward the SVG y-coordinate that data value0.0maps to — so positive segments tint downward toward zero and negative segments tint upward toward zero. Previously the area always closed at the canvas floor, which made mixed-sign series read visually as all-positive. (#6)
Install
gleam add sparklinekitSee HexDocs for the API
reference.