Harry Halpin wrote:
> For some reason, while the rest of my exhibit works, Timeline fails. I just 
> want a timeline of when people entered and
> exited their main company (in this example, Xerox PARC) and I encode this as 
> dates.
>
> Seem to have just ran into an error message that I don't understand. I'm 
> copying the Presidents.html file and JSON pretty closely in my work, just 
> modifying them to fit an exhibit about inventors of computer technology.
>
> Here's the message:
> I get this error message: "Caught Exception: Error adding section 
> {select Worked  At view} to history
> Details: TypeError:this._dom.timeline has no properties
>
> Strange. It *appears* to have properties to me. My HTML is here:
> ---
>              <div ex:role="exhibit-view"
>                         ex:viewClass="Exhibit.TimelineView"
>                         ex:label="Timeline"
>                         ex:proxy=".index"
>                         ex:start=".start"
>                         ex:leave=".leave"
>                         ex:marker=".institution"
>                         ex:bubbleWidth="320"
>                         ex:bubbleHeight="200"
>                         ></div>
> -----
>
> HTML: http://vis.duke.edu/Research/interface/inventors.html
> JSON: http://vis.duke.edu/Research/interface/inventors.js
> JSON: http://vis.duke.edu/Research/interface/schema.js
>
> Any ideas what's going on? Since the inventors don't have a strict linear 
> order like Presidents, I use proxy "index" instead of "president"...
>   
In your case, there's no need for ex:proxy at all since the properties 
start and leave are properties of what you're plotting. So, just remove 
ex:proxy=".index".

> Also, secondary question - for this historical work, we usually don't have 
> exact dates? Is it possible to use timeline with
> just years, and in that case how does it impact schema.js and do I just put 
> integers in as years?
>   
Exhibit uses ISO 8601 as the date/time format, so something like "1973" 
would do.

Cheers,

David

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to