(Asked same question here: http://goo.gl/SScHN but since I haven't figured this out and nobody has responded, asking here)Using gwt-visualization 1.1.2 on a GWT app, I was able to add annotation and annotationText columns to a LineChart thanks to: ComboChart with annotation text in gwt google-visualization
but instead of the "letter" annotation style, I really want the "line" style that the documentation refers to: "You can specify the line style by setting this chart option: annotation:
{'column_id': {style: 'line'}}(See https://developers.google.com/chart/interactive/docs/roles#annotationtextrole)
but I'm not sure how I can do this using the gwt wrapper. In fact, I'm not even able to set this property in the Code Playground (using javascript). I tried setting the property like this (and in some other variations):
data.addColumn({type: 'string', role: 'annotation', id:'TEST'}); annotation: {'TEST': {style: 'line'}} // inside chart optionsbut the style of the annotation doesn't change. As I said, interested in doing this on GWT/Java, but even if you know how to do it on javascript, I might be able to figure out a gwt solution.
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.