Skip to content

Releases: techniq/layerchart

[email protected]

13 Jan 22:33
e5db0bc
Compare
Choose a tag to compare

Patch Changes

  • fix(AreaChart|LineChart): Handling finding closest series data point with complex data types (ex. Date) when using seperate series data (a75f612)

[email protected]

13 Jan 21:35
9159675
Compare
Choose a tag to compare

Patch Changes

  • fix(AreaChart): Fix Area handling of separate series data (6a7be43)

  • fix(LineChart|AreaChart): Fix Tooltip/Highlight handling of separate series data (6a7be43)

[email protected]

12 Jan 22:20
0a073a4
Compare
Choose a tag to compare

Patch Changes

  • fix: Use relative import instead of alias to fix npm usage (9c4a07a)

[email protected]

12 Jan 18:39
102fe0d
Compare
Choose a tag to compare

Minor Changes

  • feat: Improve Canvas implementation with render registration system including synchronized invalidation / redrawing (#295)

  • feat: Support Canvas context for most primatives (Arc, Area, Circle, Group, Line, LinearGradient, Rect, Spline, and Text). Also updates components using these primatives (Axis, Bar, Grid, Rule, and more) (#295)

  • feat: Update all simplified charts to support renderContext prop to switch between Svg (default) and Canvas (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#295)

  • feat: Add renderPathData() canvas util to simplify rendering SVG path data onto canvas context with CSS variable and class support (#295)

  • feat: Add renderRect() canvas util to simplify rendering rectangles onto canvas context with CSS variable and class support (#295)

  • feat: Add renderText() canvas util to simplify rendering text onto canvas context with CSS variable and class support (#295)

  • feat: Add ComputedStyles component to easily resolve classes / CSS variable values (useful when working with ) (#295)

  • feat(Canvas): Support center prop (similar to Svg) to translate children to center (useful for radial layouts) (#295)

  • breaking(LinearGradient|RadialGradient): Rename url slot prop to gradient. Improves name, especially within canvas context (#295)

  • breaking(GeoPath): Simplify render prop use case by leveraging renderPathData() (ex. HitCanvas) (#295)

  • breaking: Reduce likihood of clipping for Canvas-rendered simplified charts by increasing default padding (and add top)) (#295)

Patch Changes

  • fix(Canvas): Support multiple children (fix infinite loops, coordinating redraws, etc). Resolves issue #158 (#295)

  • feat: Add scaleCanvas util (#295)

  • feat: Add spikePath() util (#295)

  • feat: Add clearCanvasContext() util (#295)

  • fix(circlePath): Correctly handle sweep argument (#295)

[email protected]

22 Dec 22:19
3d6b68d
Compare
Choose a tag to compare

Patch Changes

  • Remove posthog-js from dependencies (only devDependencies for docs) (0d72288)

[email protected]

20 Dec 01:29
ab3304b
Compare
Choose a tag to compare

Patch Changes

  • fix(ScatterChart): Default yScale to scaleLinear/scaleTime based on first data's y value (matching xScale behavior) (197d7fd)

  • fix: Allow overriding xScale/yScale for simplified charts (AreaChart, BarChart, etc) (197d7fd)

[email protected]

17 Dec 12:55
e452b6a
Compare
Choose a tag to compare

Patch Changes

  • Update dependencies, notable Vite 5=>6 and Svelte 5 to latest (silence/fix reactive_declaration_non_reactive_property) (30e612d)

  • fix(Dagre): Add missing lang="ts" and use Svelte 3/4 compat context="module" instead of module (bfed785)

[email protected]

13 Dec 15:47
40f3eb3
Compare
Choose a tag to compare

Minor Changes

  • feat: Add Dagre layout component for directed acyclic graphs (DAGs) (#268)

Patch Changes

  • fix(Spline): Improve initial data display / transition on non-cartesian charts (ex. hierarchy/graph) (#268)

[email protected]

03 Dec 14:00
621e674
Compare
Choose a tag to compare

Patch Changes

  • fix(Legend): Fix reactivity when scale/data changes. Fixes #289 (0dea00b)

[email protected]

23 Nov 23:21
755ee01
Compare
Choose a tag to compare

Patch Changes

  • Update dependencies (2d74395)

  • fix(PieChart): Fix handling of outerRadius with single series (adb40e2)