layerchart@0.91.0
Minor Changes
- breaking(Brush): Lowercase event callbacks (
1d5ad26)
1d5ad26)feat(Canvas): Integrate hit canvas with component registration system for simplified pointer events (#354)
breaking: Remove all usage of createEventDispatcher with on{event} callbacks. Aligns with Svelte 5 recommendation and unlocks canvas integration (#354)
breaking: Lowercase all event names (onTooltipClick => ontooltipclick) for consistency with native events (preparing for Svelte 5) (#354)
feat(Frame): Support Canvas render context (#354)
feat(Link): Support Canvas render context (#354)
feat(Voronoi): Support Canvas render context (#354)
feat: Add debug prop to all simplfied charts to enable tooltip and renderContext debug mode (#354)
feat(GeoPoint): Pass x / y as slot props (#354)
feat(Rect): Support binding to underlying svg <rect> using element prop (#354)
breaking: Remove HitCanvas (integrated into Canvas) (#354)
breaking: Remove render prop from GeoPath, GeoPoint, and Points. No longer useful now that Canvas integrates functionality (#354)
fix(PieChart): Fix tooltips when using renderContext="canvas" (#354)
fix(AreaChart|LineChart|Highlight): Support canvas pointer events, enabling series highlighting and click events when using `renderContext="canvas" (#354)
fix(Canvas): Improve animation performance by only rendering hit canvas when <canvas> has active pointer over element (#354)
interface $Props extends ... with other simplified charts to fix odd type issue (a7133b4)mode: 'integrated' | 'separated' to better support external state updates (default: integarted and no longer shows active selection when brush domain != original domain) (120f5e0)change, brushStart, brushEnd) to callback functions (onChange, onBrushStart, onBrushEnd). Allows usage from simplified charts and moves towards Svelte 5 api (450feb8)feat(AreaChart|LineChart|ScatterChart): Add Brush integration (#348)
feat(ChartClipPath|CircleClipPath|RectClipPath): Support passing disabled to underlying ClipPath (#348)
feat: Support passing props={{ tooltip: { context: ... } }} for all simplified charts (still support tooltip={...}) (#348)
null fill/stroke when creating objectId for canvas reactivity (c96c76f)feat(Labels): Support passing data and x / y accessor overrides (c5b297c)
feat(Points): Support passing x / y accessor overrides (8ea6f12)
fix(AreaChart|BarChart|LineChart|ScatterChart): Hide labels and points when toggling selected series from legend. . Add getLabelsProps and getPointsProps slot props, useful when override slot (5602e04)
fix(AreaChart): Fix labels placements when using seriesLayout="stack" (5602e04)
class to after recent refactor to handle reactive canvas styling (b025d19)