layerchart@0.81.0
Minor Changes
- breaking(Brush): Change events (
change,brushStart,brushEnd) to callback functions (onChange,onBrushStart,onBrushEnd). Allows usage from simplified charts and moves towards Svelte 5 api (450feb8)
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)fix(getComputedStyles): Ignore transition classes to allow immediate reading of css values (ex. transition-opacity affecting opacity-10) (#339)
fix(render): Multiply fillOpacity by overall opacity for fill to support opacity classes (ex. opacity-10) (#339)
fix: Memoize creating canvas gradients to improve reactivity detection (#339)
visibleSeries as slot props (along with series) to enable filteirng custom tooltip implementations (slot override) (12a8068)879898a)