Hi Scott, Scott M wrote: > Howdy all,
> I'm using Timeplot to display integer data collected hourly. > http://everyonerolls.com/timeplot/example1.html > > Couple issues. Timeplot's author is unavailable for a bit, so I'll try to answer some of your issues in the interim. When he returns, hopefully he'll have some more constructive feedback. (I mention 'write code' as possible solutions to your questions; if that's something you'd want to do to address the issue, he's more familiar with the codebase and where to go than I.) > [1] When showing about two weeks of data, I only seem to get weekly > (each Sunday) time axis labels. I use: > > timeGeometry: new Timeplot.DefaultTimeGeometry({ gridColor: > "#000000", axisLabelsPlacement: "top" }), > > > Is it possible to control the granularity of the time axis labels? > I'd like daily. The underlying engine (in Timeline) will take suggestions, but it makes the ultimate determination on units and grid spacing for you. You can try gridSpacing: <integer> and see if it picks '1 day' for you instead of '1 week' - but presumably it will keep doing what it does. This would be a nice feature to have available in configuration. For now, you'd have to hard code it. > [2] When I enable 'showValues', the granularity of the value text (on > hover) is seconds. Can I forced this to only display actual collect > time data (which is hourly in my case)? If not, can I force > granularity, minutes/hours? As above (a larger span of time will bring down the specificity). > [2b] The 'showValues' timestamp text is rather verbose (ie, "Sunday, > August 26, 2007 3:15:24 AM"). Is it possible to adjust this date/time > display format? Odd, I see 'Sun Aug 26 03:15:19 2007' when I look at the URL you provided. I'm not sure how that formatting is done. Which browser are you using? I may be working on fixing some of these myself... but don't wait for it. > A few general Timeplot questions: > > [a] Is there support for bar graphs (versus connected line)? No. > [b] Can I adjust the size of the actual graph (within the containing > region)? If you've put the timeplot in a containing div, you can use CSS to control the container's size. Is there a reason you'd need control over the graph size within as opposed to the container? > [c] Is is possible to supress the showValues for zero data? I'd like > the hover text to only show for non-zero data. You'll have to write code for that. > [d] Can the 'showValues' hover only display data values and not timestamp? You can add .timeplot-timeflag {display: none ! important;} to your CSS. This doesn't eliminate the descender that goes below the axis, though; you'll have to write code for that. > [e] The 'showValues' timestamp text appears to wrap in some cases > (just before the AM/PM); can this be avoided? From above, it sounds like you'd rather have control over the format. Perhaps setting the .timeplot-timeflag CSS class to a larger width would do it. -- Ryan Lee [EMAIL PROTECTED] MIT CSAIL Research Staff http://simile.mit.edu/ http://people.csail.mit.edu/ryanlee/ _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
