Skip to content

v1.3.0

Choose a tag to compare

@EzequielPuerta EzequielPuerta released this 30 Oct 17:19
· 18 commits to main since this release
6679827

[1.3.0] - 2026-10-30

Added

  • legend.icon in the configuration sets the icon a discrete legend item draws for its series: rounded softens its corners, and marks picks the shape by how the series draws (line, dot, area, bar, cell, rect or geo), unless the series sets its own symbol. A legend item can name its mark to choose from it.
  • A rule marker takes a list as its value, and a delta marker a list as its at: one line, or one delta, at each position, all with the same style, instead of one marker for each. A delta's line, text and dot can be functions of the position, to style each one on its own.
  • facet on a marker or a segment limits it to some facet panels, on every plot kind: a by value, a list of them, or { row, col } in a rows/cols grid. Without it a marker or a segment is drawn in every panel, as before, and a plot with no facet leaves out whatever names one.

Fixed

  • Automatic margins reserve what a plot needs without taking its drawing area: the label of the top y tick is no longer cut off, since an 'auto' top margin now leaves room for half its height, and margins that grow to fit labels stop growing once they would leave the plot less than a quarter of its box, which kept svelteplot from drawing marks with negative sizes on small plots.