Hi WPatters,

Yes, you can supply your own labeller that will paint whatever text is best for 
your application. 

The labeller is set per band.

Here's an example from ver 1, so it may not exactly match up with the current 
version. (Let us know how it goes)
http://code.google.com/p/simile-widgets/wiki/Timeline_DayLabel

A problem with the example is that it requires you to modify the source. You 
should be able to just write a new labeller (a function), and specify that it 
should be used when you create the band.

The bandInfo param is 'labeller' see 
timeline.js, line 426.
If you'd like to file a doc rfe issue, that'd be great. The issue would be 
something like:
"TIMELINE: provide example of specifying a custom labeller"

See the labellers in labellers.js for examples. I have a similar issue in my 
Timeline. My current approach is to use a more exanded view in the main 
Timeline so it just shows hours. To provide the day and date info, I'm using an 
additional band with lower resolution.

Regards,

Larry


----- Original Message ----
From: wpatters <[EMAIL PROTECTED]>
To: SIMILE Widgets <[email protected]>
Sent: Friday, October 24, 2008 12:39:03 PM
Subject: Change ether date format


Is it possible to change the format for the text on ethers?  I have a
band that runs on day, and I want the ethers to be fairly small, but
this causes the text at the bottom (Oct 17, etc) to overlap and look
bad. Is it possible to change it so it just says the number?  Or can I
just get rid of the text somehow?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to