jquery.timeline
jquery.timeline copied to clipboard
more than one event with the same date range (only showing one)
Hello, thank you for this amazing plugin firstly.
I have one case where I can have more than one event at the same time range, Ex.
<li data-timeline-node="{'start':'2012-03-01 00:00','end':'2012-12-31 00:00','row':1,'label':'Element 2','content':'The content of Element 2'}"></li>
<li data-timeline-node="{'start':'2012-03-01 00:00','end':'2012-12-31 00:00','row':1,'label':'Element 3','content':'The content of Element 3'}"></li>
<li data-timeline-node="{'start':'2012-03-01 00:00','end':'2012-12-31 00:00','row':1,'label':'Element 4','content':'The content of Element 4'}"></li>
This way only shows the last element (Element 4), the others must be below of it. I need to know if there is any solution for this, do I have to configure something in the plugin?
My team and I through thinking about a solution, which is to count all the events with the same range time and then add other lines to the list (sidebar). And put these new events on those lines. These new lines will not have a category name.
But we think this is not the best solution.
Before...
After...
Thank you very much! Have a nice day.
Hi there, thank you for suggesting.
The other day, I was suggested from @Guillaume-Bo at a PR the solution to group events between a value close to date-time in one row. The feature is that add "Category" property on the event and, expand the events have a value close to date-time to vertically on one row.
Propose most upgrade of timeline.js #37
I value that ideas as great and I'm currently developing and testing to bring in the features.
In the near future, I will release a merged version of this feature (probably next next release).
Do those features satisfy you want?
Hi,
@ka215 : In my code, i have changed event's height, because in my app, i don't use image. But, it's easy to reset event's height for integrate image. And, I have add category property for an other feature ;) for event's moving Y, i count event in same period :)
If you want me to explain you more my code, ask me ;)
Good luck and have day
Hi there, thank you for suggesting.
The other day, I was suggested from @Guillaume-Bo at a PR the solution to group events between a value close to date-time in one row. The feature is that add "Category" property on the event and, expand the events have a value close to date-time to vertically on one row.
Propose most upgrade of timeline.js #37
I value that ideas as great and I'm currently developing and testing to bring in the features.
In the near future, I will release a merged version of this feature (probably next next release).
Do those features satisfy you want?
Hi @ka215: That is just what we were thinking about, I know our solution isn't the best, but it's what we have right now, it will be great when you finish the other release.
I think @Guillaume-Bo's solution is terrific!!
Have a nice day you two. Regards.