Title: chart annotations
Last modified: August 30, 2016

---

# chart annotations

 *  Resolved [cvrd_environment](https://wordpress.org/support/users/cvrd_environment/)
 * (@cvrd_environment)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-annotations/)
 * Hi,
 * Thanks for the great plug-in. I’m struggling with trying to add annotations to
   a chart. I see that chart_annotations is one of the configurable options, and
   after referring to the google documentation, I understand how to use this option
   to customize the appearance of the annotations.
 * My question is how do I get the annotations to appear in the first place?
 * From what I can tell, placing the annotations in the column next to the data 
   in the spreadsheet is the standard for annotations. When I have text in this 
   column, however, I get an error “All series on a given axis must be of the same
   data type”. I can query to select only columns A & B, which shows my chart, but
   then there’s still no annotations visible. I tried including series={“hasAnnotations”:”
   true”}’
 * Any suggestions?
 * Thanks,
 * Jeff
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-annotations/#post-6453188)
 * That’s a good question; I don’t have a good answer. My understanding from reading
   the docs is that Google Spreadsheets as a datasource does not support returning
   a Chart DataTable object with cell-level properties for the annotation cell role.
 * I’d suggest asking your question to the appropriate [Google product support forum(s)](https://productforums.google.com/forum/).
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-annotations/#post-6453338)
 * Any word from the Google support forum people?
 *  Thread Starter [cvrd_environment](https://wordpress.org/support/users/cvrd_environment/)
 * (@cvrd_environment)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-annotations/#post-6453365)
 * I haven’t actually asked in the Google forums as I wasn’t sure what to ask. The
   annotations work fine in the chart within my Google spreadsheet – I simply select
   the range of columns including the column with the data and the adjacent column
   with the annotations, and the annotations show up as they should. It is only 
   when I tried to include the same range in my wordpress site, that I get the error
   about all series needing to be the same data type.
 * I’ve managed a work-around of using a combo chart which accomplishes what I was
   trying to do (e.g., create an area chart with markers to identify specific points
   along the curve). Column A is the date, which is my X-axis. I put the data (volume
   of water used) in Column B, with the series_type set to area. Then for each annotation(
   I only had a couple) I add another column using my annotation text as the title
   of the series, and the series_type set to bar. The only value in the series is
   for the date where I want the annotation, and has a value set to the maximum 
   value in the graph. The result is a vertical line at the correct location on 
   my graph, and a corresponding legend entry containing my annotation.
 * This doesn’t answer my original question of how to include annotations, but it
   actually works better for my purposes than the annotation.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘chart annotations’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

## Tags

 * [Annotations](https://wordpress.org/support/topic-tag/annotations/)
 * [charts](https://wordpress.org/support/topic-tag/charts/)

 * 3 replies
 * 2 participants
 * Last reply from: [cvrd_environment](https://wordpress.org/support/users/cvrd_environment/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/chart-annotations/#post-6453365)
 * Status: resolved