Hi,
My current project used Annotated Timeline widgets, it works fine
except the series order problem. I used some checkboxes to control the
series shown in the time line, but whenever I unchecked a check box,
the series order will be changed. That's not good. Is there any
methods I can control the series order? You can see the time line in
www.google.com/advisor/mortgages
I used the following method to control which series will show in the
timeline:
public void setData(List<Integer> shownColumns) {
if (currentShownColumns != null && currentShownColumns.size() > 0)
{
for (Integer shownColumnIndex : currentShownColumns) {
timeLine.hideDataColumns(shownColumnIndex);
}
}
if (shownColumns != null && shownColumns.size() > 0) {
for (Integer shownColumnIndex : shownColumns) {
timeLine.showDataColumns(shownColumnIndex);
}
}
currentShownColumns = shownColumns;
}
Thanks,
Dapeng
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" 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/google-visualization-api?hl=en.