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

Layout issues #40

Open
walterra opened this issue Aug 20, 2021 · 4 comments
Open

Layout issues #40

walterra opened this issue Aug 20, 2021 · 4 comments

Comments

@walterra
Copy link
Owner

Issue with the top/bottom example examples/lotr-top-bottom.html

image

@wuzhenlin
Copy link

hi Walte
1.How to reference npm i d3 milestones in the Vue2 project

2.I have discovered a layout issue where the outer margin is automatically calculated. When the left outer margin of a subsequent element is only 1 px larger than the left outer margin of the previous element, there will be layout errors!
1720086818928

1720086789704

As shown in the figure!

@walterra
Copy link
Owner Author

walterra commented Jul 8, 2024

Thanks for the bug reports! Is it possible to share the dataset so I can reproduce? That would make it easier to work on a fix.

As for vue.js support, I would need to create a separate package like the one I did for react (https://github.com/walterra/react-milestones-vis). Cannot promise that I get around to do that, I have no previous experience with vue.js, sorry.

@wuzhenlin
Copy link

Hi walterra

1.usage method :
milestones("#timeline")
.mapping({
timestamp: "timestamp",
text: "title",
})
.optimize(true)
.aggregateBy("day")
.distribution("bottom")
.render(milestonesList);
2. Please refer to the attachment for detailed data
data set.docx

@wuzhenlin
Copy link

Hi walterra

Can the tool support day month year

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

No branches or pull requests

2 participants