Skip to content

LayerChart 2.0 (next)#449

Open
techniq wants to merge 500 commits into
mainfrom
next
Open

LayerChart 2.0 (next)#449
techniq wants to merge 500 commits into
mainfrom
next

Conversation

@techniq
Copy link
Copy Markdown
Owner

@techniq techniq commented Mar 10, 2025

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 10, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
layerchart ✅ Ready (View Log) Visit Preview 189947d

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Mar 10, 2025

Open in StackBlitz

npm i https://pkg.pr.new/layerchart@449

commit: 189947d

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 12, 2025

🦋 Changeset detected

Latest commit: 189947d

The changes in this PR will be included in the next version bump.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@HicaroD
Copy link
Copy Markdown

HicaroD commented May 9, 2025

Hey, @techniq.
First of all, thank you for your amazing work, this package is actually incredible!

I have a question: When are you planning to merge this PR so we can finally get the Svelte 5 support? 🤗

@techniq
Copy link
Copy Markdown
Owner Author

techniq commented May 9, 2025

Hey @HicaroD, thanks for the kind words 🫶. Sorry, I don't have a rough release date set yet. There are a good number of improvements I would like to include in 2.0.0 (see milestone although not guaranteed to cover everything or have everything).

With that said, you 100% can use it today via layerchart@next and docs at https://next.layerchart.com/. I do this already for Github Analysis, Strava Analysis, and my main work project. It's also be used to build out shadcn-svelte Charts (issue).

I could see pushing some items to 2.1 but want to make sure if we find any breaking changes (mostly API refinements) we get them all in 2.0. I'm anticipating very little (if any), but still don't want to rush it.

Related: I also need to migrate Svelte UX fully over to Svelte 5 (it's Svelte 3-5 compat with Svelte 3/4 state/syntax). Both libraries have already been migrated to Tailwind 4, but the move to Svelte 5 state runes/snippets and regressions checking will take some concentrated efforts and time. I don't know how close I'll try to sync their release schedules though (and the benefit of having @next releases in place so they can be incrementally adopted).

@cycle4passion
Copy link
Copy Markdown

All the examples give 500 errors on https://next.layerchart.com/

@techniq
Copy link
Copy Markdown
Owner Author

techniq commented May 9, 2025

All the examples give 500 errors on https://next.layerchart.com/

@cycle4passion Odd... working here

image

Maybe try a hard refresh? Which browser?

@cycle4passion
Copy link
Copy Markdown

mobile only, does not work in arc (chromium), native chrome, or Safari browser.

@techniq
Copy link
Copy Markdown
Owner Author

techniq commented May 9, 2025

mobile only, does not work in arc (chromium), native chrome, or Safari browser.

Really odd... I can't reproduce

image

@github-actions github-actions Bot mentioned this pull request May 1, 2026
techniq and others added 18 commits May 5, 2026 13:25
* feat(Dodge): Add Dodge component for deterministic non-overlapping layout

* Simplify examples

* fix(Image): Stop disabling pointer events by default.  Add more examples

* add timeline-bidirectional

* add dense lanes example

* update svelte-milestones to use relative pixel dx/dy instead of data-space values to look better when zooming

* Improve svelte-milestones example

* Replace `size` with `baseline`

* Add text beeswarm example

* feat(Text): Add `fontSize` prop with auto-derived `capHeight`

* add more Dodge and ForceSimulation examples

* Add dodge to layer-specific exports and add bundle scenario

* Add more bundle scenarios includes Dodge

* Improve examples and add note about sort order controlling stacking

* Replace `rowHeight` with `rx/ry` to specify separate anchor/dodge axis values
Co-authored-by: github-actions[bot] <action@github.com>
* Add Waffle component (WIP)

* Add auto multiple example

* Support custom waffle symobols (svg-only)

* cleanup examples

* Use `series` stacks to simplify and allow legend filtering.  Simplify data rollup

* Add survey results example

* Improve Waffle/months example

* fix(Pattern): fix alignment and sharply render on high-DPI displays when using Canavs layers

* Add new Waffle component to all layer-specific exports

* improve examples

* fade non-highlighted series (legend, etc)

* improve unit/multiple examples

* improve custom symbol

* improve descriptions
… sizing and text clipping). Prompt user for resolution and background on docs "Export to PNG" / "Copy as PNG"
Co-authored-by: github-actions[bot] <action@github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <action@github.com>
@github-actions github-actions Bot mentioned this pull request May 18, 2026
github-actions Bot and others added 5 commits May 18, 2026 08:31
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ath` and `GeoPoint` to fix unocss compat.
…es (fall back to d3's default order/offset).
@github-actions github-actions Bot mentioned this pull request Jun 3, 2026
techniq and others added 4 commits June 3, 2026 10:10
…is')` crash in cartesian charts (AreaChart, etc.) when no transform is configured (#872) (#873)

* fix(ChartState): Prevent `Cannot read properties of null (reading 'axis')` crash in cartesian charts (AreaChart, etc.) when no transform is configured (#872)

* Revert chart state null axis guard workaround and bump esrap to 2.2.11 in lock file to fix
* fix: guard against undefined accessor in printScale

When activeGetters includes z or r scales that are not configured, the accessor is undefined, causing acc.toString to throw. Added null check.

* chore: add changeset
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants