Skip to content

Releases: techniq/layerchart

layerchart@2.0.0-next.39

25 Sep 11:16
c84dea5

Choose a tag to compare

Pre-release

Minor Changes

  • feat: Support css-only usage (no Tailwind required) while retaining first-class Tailwind support (#557)

Patch Changes

  • feat: Simplify daisyUI, shadcn-svelte, and Skeleton integrations with single line @import 'layerchart/{library}.css' added to app.css (#557)

  • docs: Add examples for standalone, daisyUI v5, shadcn-svelte v1, Skeleton v3, and Svelte UX v2 (next) (including light/dark theming) (#557)

  • feat(LineChart): Support orientation="vertical". Resolves #640 (#557)

  • feat: Add Html context support for applicable primitives such as Circle, Line, Rect, Text (and more) as well as transitively such as Axis, Grid, Labels (and more) (#557)

  • feat(LinearGradient): Support Html context (#557)

  • fix(Text): Apply fill: currentColor to support more straightforward way of changing color (ex. class="text-red-500" or style="color:red") (#557)

  • fix(TooltipContext): Revert back to pointer events (instead of mouse/touch) but with touch-action: pan-y. Provides simplified events while allowing horizontal scrubbing with vertical scrolling. (#557)

  • feat(TooltipContext): Add touchEvents to control touch event behavior. Defaults to pan-y to allow vertical scrolling but horizontal scrubbing. (#557)

  • fix(TooltipContext): Fix band mode regression when both x/y are scaleBand (ex. punchcard chart) (#557)

  • fix(SimplifiedCharts): Properly handle legend prop as object when determining bottom padding (#557)

  • fix(AreaChart|LineChart|DefaultTooltip): Handle per-series data with different length (#557)

  • feat(Highlight): Support passing opacity (#557)

  • fix(SimplifiedChart): Still add selected legend item opacity when item classes are also applied (#557)

  • feat(Legend): Add selected prop to fade out unselected items (if passed and non-empty) (#557)

  • feat(SeriesState): Add isHighlighted(seriesKey) to easy check if series is hightlight (or should be faded) (#557)

  • fix(Primatives): Apply default classes when using Canvas context (like Svg). Resolves #544 (#557)

  • refactor: Remove use of layerClass and apply lc-{name} class directly to allow easy component <style> targetting within LayerChart (#557)

layerchart@1.0.12

17 Sep 14:45
ffe22ca

Choose a tag to compare

Patch Changes

  • fix(Axis): Fix reactivity issue with xRange/yRange in Svelte 5.34+. Fixes #641 (#643)

layerchart@2.0.0-next.38

11 Sep 16:45
6e8ea7f

Choose a tag to compare

Pre-release

Patch Changes

  • Update dependencies (#629)

  • fix(autoScale): Ignore null domain values, fixing some brush examples (#449)

  • fix: Update dagreAncestors() and dagreDescendants() util types (#629)

layerchart@2.0.0-next.37

17 Aug 00:53
79c9e3b

Choose a tag to compare

Pre-release

Patch Changes

  • fix(ArcChart): Do not pass y accessor to use linear scale fallback (#449)

layerchart@2.0.0-next.36

07 Aug 01:00
8db3c10

Choose a tag to compare

Pre-release

Patch Changes

  • fix(PieChart): Do not pass y accessor to use linear scale fallback (#631)

layerchart@2.0.0-next.35

01 Aug 13:35
b9511e1

Choose a tag to compare

Pre-release

Patch Changes

  • feat(Chart): Automatically determine scale based on data and domain values (instead of defaulting to scaleLinear) (#624)

layerchart@2.0.0-next.34

28 Jul 16:47
541b230

Choose a tag to compare

Pre-release

Minor Changes

  • feat(Rule): Support using as data-driven mark (ex. candlestick, lollipop) by default (<Rule> using Chart accessors) or passing explicit x/y accessors (ex. <Rule y={["high", "low"]} />). Resolves #64 (#622)

  • breaking(Points): Remove <Points links> prop. Use <Rule> with x/y accessor instead (#622)

Patch Changes

  • breaking(Axis): Rename x="left|right" and y="top|bottom" props with # LayerChart prefix (ex. `) (#622)

layerchart@2.0.0-next.33

23 Jul 17:40
292a244

Choose a tag to compare

Pre-release

Patch Changes

  • fix(Bars): Fix inverted rect when rendered top-to-bottom or right-to-left. Fixes #540 (#613)

  • fix(Axis): Filter distinct tick values (useful when manually injecting extra values) (#615)

  • feat(Axis): Use format to filter ticks (integer and date/time). Helpful to keep ticks above a threshold for wide charts or short durations. (#615)

layerchart@2.0.0-next.32

22 Jul 00:07
0cce3ce

Choose a tag to compare

Pre-release

Patch Changes

  • fix(Points): Update point.x / point.y based on ctx.radial to simplify children snippet usage (#611)

layerchart@2.0.0-next.31

20 Jul 03:09
8190b48

Choose a tag to compare

Pre-release

Minor Changes

  • feat(Chart): Add xInterval / yInterval for time scales usage with bar charts (#562)

  • feat(BarChart): Support time scale with xInterval / yInterval props (#562)

  • feat(TooltipContext): Support band mode with time scale (similar to band scale) (#562)

  • feat(ForceSimulation): Added onNodesChange callback to ForceSimulation (#607)

Patch Changes

  • fix(Bar): Clamp radius to width/height to not cause artifacts with small values (including 0) when rounding a single edge. Fixes #383 (#610)

  • fix(Highlight): Properly handle area highlights with y-axis time scales (#562)