Releases (227)
layerchart@0.79.0
Minor Changes
- fix: Improve canvas reactivity for all primatives (Arc, Area, Circle, Spline, etc) (#339)
Patch Changes
-
fix(getComputedStyles): Ignore transition classes to allow immediate reading of css values (ex.
transition-opacityaffectingopacity-10) (#339) -
fix(render): Multiply
fillOpacityby overallopacityfor fill to support opacity classes (ex.opacity-10) (#339) -
fix: Memoize creating canvas gradients to improve reactivity detection (#339)
layerchart@0.78.0
Minor Changes
- feat: Pass
visibleSeriesas slot props (along withseries) to enable filteirng custom tooltip implementations (slot override) (12a8068)
layerchart@0.77.0
layerchart@0.76.1
Patch Changes
- fix: Do not override default Legend selected item classes when providing other classes (
879898a)
layerchart@0.76.0
Minor Changes
-
feat(TooltipContext): Support lockable tooltips, useful for interactive elements / dense data. Control using
<Chart tooltip={{ locked }}>(#333) -
feat(Tooltip): Support passing
pointerEventsto enable clickable tooltip content. Useful with locked tooltips (#333) -
feat(TooltipHeader): Support passing
valueandformat(similar to TooltipItem) to simplify overrides from simplified charts (#335) -
feat(AreaChart|BarChart|LineChart|ScatterChart): Enabling passing
props={{ tooltip: { header: { format: ... } } }}(#335) -
feat(BarChart): Add
<BarChart props={{ tooltip: { hideTotal: true } }}>to hide total (useful for some group series use cases) (#335)
Patch Changes
- fix: Retain default tooltip context props (ex.
mode,onClick) when passing additional props to simplified charts (ex.<AreaChart tooltip={{ locked }}>) (#333)
layerchart@0.75.1
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)