de hecho, la informacion se saca de un XML, y en el XML viene el color de cada barrita.
Ejemplo:
Código XML:
Ver original<?xml version="1.0" encoding="utf-8"?>
<data>
<event start="May 28 2006 09:00:00 GMT" end="Jun 15 2006 09:00:00 GMT" isDuration="true" title="Writing Timeline documentation" trackMum="7" textColor="#000000">
A few days to write some documentation for <a href="http://simile.mit.edu/timeline/">Timeline</a>.
</event>
<event start="Jun 15 2006 00:00:00 GMT" end="Jun 26 2006 00:00:00 GMT" isDuration="true" title="Friend's wedding" trackNum="1" color="FFFFF">
I'm not sure precisely when my friend's wedding is.
</event>
<event start="Jun 26 2006 00:00:00 GMT" end="Aug 01 2006 00:00:00 GMT" isDuration="true" title="Trip to Beijing" link="http://travel.yahoo.com/" trackNum="2" color="#eb0b0b">
Woohoo!
</event>
<event start="Aug 01 2006 00:00:00 GMT" end="Aug 03 2006 00:00:00 GMT" isDuration="true" title="titulo 4 bien grandototototote" trackNum="3" color="#0b11ef">
evento 4
</event>
<event start="Aug 03 2006 00:00:00 GMT" end="Aug 06 2006 00:00:00 GMT" isDuration="true" title="titulo 5 bien grandototototote" trackNum="4" color="#0bef4c">
evento 5
</event>
</data>
el color se asigna en el tag de color.