Timeplot breaks as soon as adding data source

32 views
Skip to first unread message

DFresh

unread,
Mar 6, 2012, 4:04:33 PM3/6/12
to SIMILE Widgets
Hello,

I've used timeplot before at a previous employer and now I'm trying to
get it working at my new location. Unfortunately I lost my old html
files to go off of. There's also 1 key difference compared to my
previous implementation. The one I'm working on now has no access to
the internet so I followed the instructions to get the ajax, timeline
and timeplot APIs running locally on the same apache instance.

The link to my html code is here: http://pastebin.com/ArnrQH2C

I can get the blank timeplot window to show, but as soon as I add the
below 2 lines it breaks. Not sure what's going on as the apache logs
all show 200s for the requests to all javascript files. I'm following
the tutorial step by step from here: http://www.simile-widgets.org/timeplot/docs/


dataSource: new Timeplot.ColumnSource(eventSource,1)
timeplot.loadText("/timeplot/data.txt", ",", eventSource);

Doug Strick

unread,
Mar 12, 2012, 4:17:27 PM3/12/12
to simile-...@googlegroups.com

Contemplative

unread,
Mar 18, 2012, 5:12:00 PM3/18/12
to simile-...@googlegroups.com
Hi,
I too have struggled with the timeplot within exhibit on occasion.
I have a working one here if you want to compare your code with a working one.
Look at the "Moisture Plot" and "Price Plot".  Both of those make use of the timeplot functionality.

Hope that helps,

wjw
Reply all
Reply to author
Forward
0 new messages