Annotation style - line - how to implement

1,066 views
Skip to first unread message

Allomorphy

unread,
Feb 14, 2012, 4:26:32 AM2/14/12
to google-visua...@googlegroups.com
I want to use the annotation style "line" as alternative to the default "letter".

The manual says;
annotation: {'column_id': {style: 'line'}}

However this does not work for me, do you have a working example
so that I may check the implementation?

Thanks

--
Eric

asgallant

unread,
Feb 14, 2012, 8:11:55 AM2/14/12
to google-visua...@googlegroups.com
First of all, line annotations only work on the domain series (category/continuous axis values), not on data series.  Second, use the id or column index of the annotation column (not the domain or annotationText columns) as the object property.  See the example here: http://jsfiddle.net/NpUzn/

Rogelio Flores

unread,
Jan 7, 2013, 2:54:13 PM1/7/13
to google-visua...@googlegroups.com
Is there a way to set the color of the annotation line? (default is something like #ddd)

asgallant

unread,
Jan 7, 2013, 11:10:33 PM1/7/13
to google-visua...@googlegroups.com
No, you can't change the line color.
Reply all
Reply to author
Forward
0 new messages