Releases (221)
layerchart@0.75.0
Minor Changes
-
feat(AreaChart|BarChart|LineChart|PieChart|ScatterChart): Add Legend integration (highlight & filter) (#329)
-
feat(AreaChart|LineChart): Highlight series (desaturating other series) while hovering over point on series (#329)
-
feat(Highlight): Add
onPointEnterandonPointLeaveevent callbacks (#329) -
feat(Legend): Add
onPointerEnterandonPointerLeaveevent callbacks (#329) -
feat(Legend): Support
classes.item(item)(#329) -
feat: Add
profileprop to all simplified charts to log initial render performance usingconsole.time(#330)
Patch Changes
-
docs: Add performance examples for different data structures (for further investigation) (#330)
-
fix(Area|Spline): Reactively recreate internally x/y accessors when props/context change. Fixes AreaChart legend filter support (#329)
-
fix(Legend): Add
z-index: 1to stack above tooltip contexts (band rects, voronoi) to allow pointer events (click/hover) (#329)
layerchart@0.74.0
Minor Changes
-
breaking(Bar|Bars): Replaced
inset: numberprop withinsets: Insets | undefined. (#321)To migrate from
insettoinsetsreplaceinset = nwith:insets = { x: n / 2 }iforientation="vertical"insets = { y: n / 2 }iforientation="horizontal"
-
feat(BarChart): Add
stackPaddingprop, which adds a padding between stacked bars. (#321)
layerchart@0.73.0
Minor Changes
- feat: Support passing
props.tooltipto all simplified charts, applying toTooltip.Root,Tooltip.Item, etc (58d70fc)
layerchart@0.72.2
Patch Changes
- fix(BarChart): Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (
59dc772)
layerchart@0.72.1
Patch Changes
- fix: Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (
bec9207)
layerchart@0.72.0
Minor Changes
-
feat: Add
onTooltipClickcallback event for all simplified charts (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#322) -
feat(BarChart): Add
onBarClickcallback event (useful for multi-series charts) (#322) -
feat(AreaChart|LineChart): Add
onPointClickcallback event (useful for multi-series charts) (#322) -
feat(PieChart): Add
onArcClickcallback event (#322) -
feat(Bars): Add
onBarClickcallback event (#322) -
feat(Highlight): Add
onAreaClick,onBarClick, andonPointClickcallback events (#322)
Patch Changes
- fix(BarChart): Fix Tooltip handling with separate series data (
6708650)
layerchart@0.71.3
Patch Changes
- fix(Tooltip): Only attempt repositiong if not fixed (ie.
pointer/data) (7461788)
layerchart@0.71.2
Patch Changes
- fix(Spline): Remove redundant
{...$restProps}which also caused default classes to be overridden (ex.fill-none) (487357a)