How to make vertical annotation when using Google Charts DataTable roles?
google-visualization, gwt, javascript
Solution
You are close! Since you have regular annotations ready, just add to your chart options: `annotations: {style: 'line'}`.
jsFiddle example: http://jsfiddle.net/tVCv9/268/
Read the docs on annotations: https://developers.google.com/chart/interactive/docs/roles?hl=fr#annotationrole
Good luck!
Problem
I am using the Google Chart Tools DataTable Roles feature to annotate LineChart as mentioned in the below link:- https://developers.google.com/chart/interactive/docs/roles But the annotations are coming Horizontal and not vertical. For example "Started Using Spreadsheets" annotation below is vertical which is what I want but for me its not coming vertical. I am using the below code to add annotated column:- ``` addColumn({type:'string', role:'annotation'}); ``` Please help.