Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document layouts (as "scale-aware transforms") #819

Closed
wants to merge 12 commits into from

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Mar 22, 2022

covers dodge (#809), hexbin (#810)

This was referenced Mar 22, 2022
@Fil Fil mentioned this pull request Mar 24, 2022
Plot.dodgeY({x: "date"})
```

If the marks are arranged along the *x* axis, the dodgeY transform piles them vertically, keeping their *x* position unchanged, and creating a *y* position that avoids overlapping.
Copy link

Choose a reason for hiding this comment

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

@Fil hi, well, i really wants this functionary. which topic branch is the most updated one (ideally based on plot v0.4.3)?

Copy link

@ryoqun ryoqun May 4, 2022

Choose a reason for hiding this comment

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

specifically, i want these Plot.links to be stacked (currently overlapping):
image

work-arounds like opacity and dashed lines aren't satisfactory... xD

and it seems i can specify the stacking direction with anchor with top & bottom? perfect. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ryoqun the current branch is https://github.com/observablehq/plot/tree/mbostock/reinitialize; please feel free to test it and give us feedback. (But note that it's highly probable that more changes will occur before this ships.)

@mbostock mbostock force-pushed the mbostock/reinitialize branch 2 times, most recently from b305131 to 886615b Compare May 4, 2022 22:26
@mbostock
Copy link
Member

mbostock commented May 7, 2022

Merged into #823, which was merged into #801.

@mbostock mbostock closed this May 7, 2022
@Fil Fil deleted the fil/reinitialize-documentation branch October 16, 2022 18:42
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.

3 participants