Releases: techniq/layerchart
[email protected]
Patch Changes
- fix(PieChart): Align
interface $Props extends ...
with other simplified charts to fix odd type issue (a7133b4
)
[email protected]
[email protected]
Patch Changes
- fix(Brush): Add
mode: 'integrated' | 'separated'
to better support external state updates (default:integarted
and no longer shows active selection when brush domain != original domain) (120f5e0
)
[email protected]
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
)
[email protected]
Minor Changes
-
feat(AreaChart|LineChart|ScatterChart): Add Brush integration (#348)
-
feat(ChartClipPath|CircleClipPath|RectClipPath): Support passing
disabled
to underlyingClipPath
(#348) -
feat: Support passing
props={{ tooltip: { context: ... } }}
for all simplified charts (still supporttooltip={...}
) (#348)
Patch Changes
[email protected]
Patch Changes
- fix: Properly handle
null
fill/stroke when creating objectId for canvas reactivity (c96c76f
)
[email protected]
Patch Changes
-
feat(Labels): Support passing
data
andx
/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
andgetPointsProps
slot props, useful when override slot (5602e04
) -
fix(AreaChart): Fix labels placements when using
seriesLayout="stack"
(5602e04
)
[email protected]
Patch Changes
- fix(Circle|Line|Rect): Restore passing
class
to after recent refactor to handle reactive canvas styling (b025d19
)
[email protected]
[email protected]
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-opacity
affectingopacity-10
) (#339) -
fix(render): Multiply
fillOpacity
by overallopacity
for fill to support opacity classes (ex.opacity-10
) (#339) -
fix: Memoize creating canvas gradients to improve reactivity detection (#339)