ka215 / jquery.timeline

You can easily create the horizontal timeline with two types by using this jQuery plugin.
MIT License
240 stars 43 forks source link

Sources of examples #75

Closed friedrico closed 3 years ago

friedrico commented 3 years ago

https://ka215.github.io/jquery.timeline/

Would you please provide the sources for the example charts?

ka215 commented 3 years ago

So I'd like to introduce the sources of several sample pages that published as the demo.

I hope this is helpful to you.

friedrico commented 3 years ago

Thanks that is very helpful. Follow up questions:

ka215 commented 3 years ago

For my task it is necessary that the labels are always shown - the width of events without end date is 0, so how would you realise that?

Use the type: 'mixed' option to initialize the timeline. Now the events with an end of 0 will be displayed as pointer events. You can then add extended attributes to the events you want to label and style them to achieve this. Please refer to below sample.

https://ka2.org/jqtl-v2/sample-sticky-label.html

is it possible to generate a dotted vertical line from the event to the ruler? The idea is that the events would be far larger if the labels are shown always and in order to keep track of the actual point of time, such vertical lines would be useful. Do you think this can easily be achieved?

I find the sample 1 of the following pages useful.

https://ka2.org/jqtl/jquery-timeline-samples

Thank you,

friedrico commented 3 years ago

Thanks, that is really helpful. I will try on that