btkramer9 / simile-widgets

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

TIMELINE: Support quarter time intervals #337

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have attached a patch to support using a Quarter (i.e. 3 months) as the 
interval limit. It works in the same way as others:

Timeline.createBandInfo({
    ...
    intervalUnit:   Timeline.DateTime.QUARTER,
    ...
});

There is a patch for /src/ajax/api/scripts/date-time.js and 
/src/webapp/api/scripts/labellers.js.

It would be great to see this taken into the next release.

Let me know if there is anything else you need.

Thanks.

Original issue reported on code.google.com by andrewjo...@gmail.com on 1 Dec 2009 at 3:51

Attachments:

GoogleCodeExporter commented 9 years ago
I have also placed the code on Github, which is what I am using at the moment 
(rather 
than patching the files): http://gist.github.com/246389.

Original comment by andrewjo...@gmail.com on 1 Dec 2009 at 4:02

GoogleCodeExporter commented 9 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 9:37