frinellkd / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE. Timeline confusing Duration events with Instantaneous events when loading JSON data #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When loading data from JSON into a timeline, I notice that Duration Events
are being displayed as Instantaneous Events, ignoring the duration: true
arguments. If I switch to an XML version of the same data however, I get
the expected (correct) results.

[Submitted by Ian Phillip on simile.mit.edu] 

           Sort Order: [Ascending order - Click to sort in descending order]
[ Permlink | « Hide ]
Ian Phillip - 20/Nov/06 05:48 AM
It now seems that Duration Events and Iinstantaneous Events (with an
imprecise starting time) are being transposed when using the JSON version
of the data.
[ Show » ]
Ian Phillip - 20/Nov/06 05:48 AM It now seems that Duration Events and
Iinstantaneous Events (with an imprecise starting time) are being
transposed when using the JSON version of the data.

[ Permlink | « Hide ]
Jon Crump - 08/Aug/07 01:42 PM
I note that when using json eventsource, events with simple start and end
dates are displayed as duration events by default, that is, without any
explicit 'isDuration' property at all. Events are also rendered as duration
events if 'isDuration': 'false'.

But 'isDuration': 'true', renders the event as imprecise.

Original issue reported on code.google.com by GabrielR...@googlemail.com on 5 Apr 2009 at 2:08