layerchart@1.0.12
Patch Changes
- fix(Axis): Fix reactivity issue with xRange/yRange in Svelte 5.34+. Fixes #641 (#643)
y accessor to use linear scale fallback (#631)feat(Rule): Support using as data-driven mark (ex. candlestick, lollipop) by default (<Rule> using Chart accessors) or passing explicit x/y accessors (ex. <Rule y={["high", "low"]} />). Resolves #64 (#622)
breaking(Points): Remove <Points links> prop. Use <Rule> with x/y accessor instead (#622)
x="left|right" and y="top|bottom" props with $ prefix (ex. <Axis x="$left">) (#622)fix(Bars): Fix inverted rect when rendered top-to-bottom or right-to-left. Fixes #540 (#613)
fix(Axis): Filter distinct tick values (useful when manually injecting extra values) (#615)
feat(Axis): Use format to filter ticks (integer and date/time). Helpful to keep ticks above a threshold for wide charts or short durations. (#615)
point.x / point.y based on ctx.radial to simplify children snippet usage (#611)feat(Chart): Add xInterval / yInterval for time scales usage with bar charts (#562)
feat(BarChart): Support time scale with xInterval / yInterval props (#562)
feat(TooltipContext): Support band mode with time scale (similar to band scale) (#562)
feat(ForceSimulation): Added onNodesChange callback to ForceSimulation (#607)