Open walterra opened 6 years ago
Looking forward to this feature.
And how to set the label distribution on each timeline individually ? I'm not seeing this can be done for now.
This will be a bit of work to implement this dynamically.
In the meantime, you could work around this by creating multiple instances, I created an example in examples/lotr-top-bottom.html
Moved the example to the storybook rendering: https://walterra.github.io/d3-milestones/?path=/story/d3-milestones--lord-of-the-rings
At the moment, categories can be used to split the data into multiple timelines. The label distribution on each timeline can be set to bottom/top/both.
It would be nice to have an option which allows you to distribute the labels on one timeline to bottom/top based on two categories.