Hello, the annotation line feature requires you to have a column with the role 'annotation'. This is the 'column_id' that the documentation refers to. You can put the annotation on either a data point in a series (like the examples in the docs show) or on the domain column. I made an example<http://jsfiddle.net/Ytt8K/>of the domain column case. Hopefully it helps! We're aware that the state of our documentation isn't ideal and are working to fix it.
- Sergey On Wed, Jan 16, 2013 at 9:59 AM, laurent coudurier <[email protected]>wrote: > great !! it works fine > > but in the doc : > https://developers.google.com/chart/interactive/docs/roles?hl=fr#annotationrole > > I can read : "You can specify the line style by setting this chart option: > annotation: > {'*column_id*': {style: 'line'}}" > > 1/ 'column_id' ?? is it possible to define 'line' for the domain, and > 'text' for a data column (it would be great)? > > 2/ annotation is not listed within avalaible options : > https://developers.google.com/chart/interactive/docs/gallery/linechart?hl=fr#Configuration_Options > (how many other vital options like this is 'hidden' ?) > > Thanks in advance > > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-visualization-api/-/nuSWHD1YM7sJ. > 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. > -- 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.
