Skip to content

Drop the z channel for bar, dot, link, rect, rule, text, and tick. - #345

Merged
mbostock merged 4 commits into
mainfrom
mbostock/less-z
Apr 30, 2021
Merged

mbostock merged 4 commits into
mainfrom
mbostock/less-z

Conversation

@mbostock

Copy link
Copy Markdown
Member

And use the sort transform instead for the same effect. This way z is exclusively for series, not for z-order.

Fixes #204.

@mbostock
mbostock requested a review from Fil April 30, 2021 20:57
@Fil

Fil commented Apr 30, 2021

Copy link
Copy Markdown
Contributor

related #334

@Fil Fil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good move! It clarifies both the code and the API.

I've removed 3 unnecessary sorts.

@mbostock
mbostock merged commit 559dd81 into main Apr 30, 2021
@mbostock
mbostock deleted the mbostock/less-z branch April 30, 2021 21:57
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.

How should line and area order by z? Also what stack orders are supported?

2 participants