Releases: techniq/layerchart
Releases · techniq/layerchart
[email protected]
Minor Changes
-
breaking(Bar|Bars): Replaced
inset: number
prop withinsets: Insets | undefined
. (#321)To migrate from
inset
toinsets
replaceinset = n
with:insets = { x: n / 2 }
iforientation="vertical"
insets = { y: n / 2 }
iforientation="horizontal"
-
feat(BarChart): Add
stackPadding
prop, which adds a padding between stacked bars. (#321)
[email protected]
Minor Changes
- feat: Support passing
props.tooltip
to all simplified charts, applying toTooltip.Root
,Tooltip.Item
, etc (58d70fc
)
[email protected]
Patch Changes
- fix(BarChart): Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (
59dc772
)
[email protected]
Patch Changes
- fix: Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (
bec9207
)
[email protected]
Minor Changes
-
feat: Add
onTooltipClick
callback event for all simplified charts (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#322) -
feat(BarChart): Add
onBarClick
callback event (useful for multi-series charts) (#322) -
feat(AreaChart|LineChart): Add
onPointClick
callback event (useful for multi-series charts) (#322) -
feat(PieChart): Add
onArcClick
callback event (#322) -
feat(Bars): Add
onBarClick
callback event (#322) -
feat(Highlight): Add
onAreaClick
,onBarClick
, andonPointClick
callback events (#322)
Patch Changes
- fix(BarChart): Fix Tooltip handling with separate series data (
6708650
)
[email protected]
Patch Changes
- fix(Tooltip): Only attempt repositiong if not fixed (ie.
pointer
/data
) (7461788
)
[email protected]
Patch Changes
- fix(Spline): Remove redundant
{...$restProps}
which also caused default classes to be overridden (ex.fill-none
) (487357a
)
[email protected]
[email protected]
Minor Changes
- feat(Tooltip): Support
contained="window"
to keep tooltip within window/viewport (along withcontainer
andfalse
) (e00528a
)