Closed geordie closed 11 years ago
Provided a way for bar colors to be set from data by passing in a D3 color scale with a domain and range and adding a color property to the timeline object that maps data item property values to the color scale's domain.
Also documented and provided an example.
Thanks for the feature! I pulled it into a feature branch, broke out some code to make it easier to read and merged it into master.
Provided a way for bar colors to be set from data by passing in a D3 color scale with a domain and range and adding a color property to the timeline object that maps data item property values to the color scale's domain.
Also documented and provided an example.