[gdoc key="https://docs.google.com/spreadsheets/d/1iJKsjQkt_UkQ486EeXRW-s37bQ3oOuRUW4#########/dit#gid=419933707" chart="bar" chart_display_annotations="doesnt work" chart_display_legend_values="what here?" ]Using specific shortcode attributes, you can choose from a huge number of configurable options to customize the look and feel of your chart. The specific shortcode attributes available to you depend on the type of chart you chose. Refer to the to learn which configuration options are available for which type of charts.
Each configuration option is accessible through a shortcode of a similar name. For instance, the colors configuration option is accessible to you through the chart_colors attribute. It accepts a list of colors, which you supply to the shortcode in a similar way as you might provide a class value:
[godc key="ABCDEFG" chart="Pie" chart_colors="red green"]
To create a 3D chart, specify chart_dimensions="3".
With a few exceptions, the name of a shortcode attribute is always an
underscore-separated translation of the camelCase name of the option in
the Google Chart API. For instance, to disable chart interactivity by
setting the chart’s enableInteractivity option to false, use a shortcode like:
[gdoc key="ABCDEFG" chart="Pie" chart_enable_interactivity="false"]
Some configuration options call for an Object value. For these, the shortcode attribute value should be a JSON object. For instance, to use the different properties of the backgroundColor option:
[gdoc key="ABCDEFG" chart="Pie" chart_background_color='{"fill":"yellow","stroke":"red","strokeWidth":5}']
Note that when a JSON object is used as a value, the shortcode attribute’s value must be single-quoted.