Title: Combo Chart &#8211; Data Labels
Last modified: November 15, 2018

---

# Combo Chart – Data Labels

 *  Resolved [ldcruz](https://wordpress.org/support/users/ldcruz/)
 * (@ldcruz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/combo-chart-data-labels/)
 * Hi,
    I’m trying to figure out how to add the data label in the combo chart. I
   could not find a clear example to do this with your plugin. I tried: chart_annotations
   = ‘”1″:{“style”:”bar”,”role”:”annotation”},”2″:{“role”:”annotationText”}}’ and
   did not work. I tried using the annotations inside the chart_series and it did
   not work. I’ve seen several examples using the following commands: data.addColumn({
   type: ‘string’, role: ‘annotation’}); data.addColumn ({type: ‘string’, role: ‘
   annotationText’}); I could not figure out how to use them in your plugin.
 * Any help is welcome.

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

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/combo-chart-data-labels/#post-10885203)
 * I’m not sure I understand what you’re trying to do, but this:
 *     ```
       chart_annotations = '"1":{"style":"bar","role":"annotation"},"2":{"role":"annotationText"}}'
       ```
   
 * is clearly broken. This starting sequence (`"1":`) isn’t even valid JSON, so 
   it’s not going to work. At a minimum, you need to ensure your braces and quotes
   are balanced; i.e., you are missing the starting brace. Refer to [the JSON documentation](https://json.org/)
   for complete syntax reference.
 *  Thread Starter [ldcruz](https://wordpress.org/support/users/ldcruz/)
 * (@ldcruz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/combo-chart-data-labels/#post-10885465)
 * Sorry my bad.
    chart_annotations = ‘{“1”:{“style”:”bar”,”role”:”annotation”},”
   2″:{“role”:”annotationText”}}’
 * It’s not working any way, on google sheets I create a chart and on Series option
   I just click on Data Label and data information apears on bar charts without 
   need to mouse hover.
 * thanks for reply

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

The topic ‘Combo Chart – Data Labels’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [ldcruz](https://wordpress.org/support/users/ldcruz/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/combo-chart-data-labels/#post-10885465)
 * Status: resolved