Hi,
I am new to Vaadin and am trying out VisualizationForVaadin’s (version 1.1) annotated time line component. I want to customize the color of individual timeline series (e.g. changing the color of line in the chart corresponding to ‘Sold Pencils’ and ‘Sold Pens’ in annotated time line example to something other than red and blue). I looked for documentation for annotated time line component but couldn’t find any. So I went to google’s visualization (http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html) to see how to customize the color for individual timeline series and found that there is a configuration option ‘colors’, which can be used to change/customize the color. ‘colors’ configuration option takes an array of String as input.
I was not able to find any API on org.vaadin.vaadinvisualizations.AnnotatedTimeLine to set option that takes array of string. I tried using setOption call that takes a String (I gave a comma separated String of colors) but whenever I do that the timeline doesn’t show at all.
Can someone help in customizing the color of individual timeline series using AnnotatedTimeLine component?
I am using following configuration:
vaadin 6.4.5
Visualization for vaadin 1.1
gwt-visualization 1.1
JBoss 5.0
Thanks,
Atul