Skip to content

Releases: techniq/layerchart

[email protected]

20 Jan 15:07
62cfbaa
Compare
Choose a tag to compare

Minor Changes

  • breaking(Bar|Bars): Replaced inset: number prop with insets: Insets | undefined. (#321)

    To migrate from inset to insets replace inset = n with:

    • insets = { x: n / 2 } if orientation="vertical"
    • insets = { y: n / 2 } if orientation="horizontal"
  • feat(BarChart): Add stackPadding prop, which adds a padding between stacked bars. (#321)

[email protected]

16 Jan 19:17
8a6da0b
Compare
Choose a tag to compare

Minor Changes

  • feat: Support passing props.tooltip to all simplified charts, applying to Tooltip.Root, Tooltip.Item, etc (58d70fc)

[email protected]

16 Jan 15:16
c35c081
Compare
Choose a tag to compare

Patch Changes

  • fix(BarChart): Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (59dc772)

[email protected]

16 Jan 14:45
2a9451a
Compare
Choose a tag to compare

Patch Changes

  • fix: Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (bec9207)

[email protected]

16 Jan 00:51
24a69b9
Compare
Choose a tag to compare

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, and onPointClick callback events (#322)

Patch Changes

  • fix(BarChart): Fix Tooltip handling with separate series data (6708650)

[email protected]

15 Jan 15:31
64d391f
Compare
Choose a tag to compare

Patch Changes

  • fix(Tooltip): Only attempt repositiong if not fixed (ie. pointer/data) (7461788)

[email protected]

15 Jan 14:36
4c0ecf8
Compare
Choose a tag to compare

Patch Changes

  • fix(Spline): Remove redundant {...$restProps} which also caused default classes to be overridden (ex. fill-none) (487357a)

[email protected]

15 Jan 14:07
1818240
Compare
Choose a tag to compare

Patch Changes

  • fix(Bar): Fix strokeWidth prop (#316)
  • fix(Spline): Pass {...$restProps} to underlying <path> element (#316)

[email protected]

14 Jan 20:31
7b423d2
Compare
Choose a tag to compare

Minor Changes

  • feat(Tooltip): Support contained="window" to keep tooltip within window/viewport (along with container and false) (e00528a)

[email protected]

14 Jan 16:32
7f39f93
Compare
Choose a tag to compare

Patch Changes

  • feat(Axis): Add classes properties for rule, tick, and tickLabel for convenient styling ([5433da5`](5433da5))