Hello.. 
I Spend all day to try resolve a problem with plugin to wordpress here 
https://wordpress.org/plugins/inline-google-spreadsheet-viewer/
This plugin uses nattive Google Charts API to make chart.
I have problem because legend doest show a text and second thing I want to 
add annotations to the end of a bars in chart with numbers.  Maybe You can 
help me? Just give me maybe some tip and I wil figure this out. 
*Thank you. *

*Shortocode from plugin looks like this..*



[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?"  ]

Here is some explanation form plugin autor:

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 <http://JSON.org/> 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.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/e48730e0-216c-4481-b416-28ac40ef8f4c%40googlegroups.com.

Reply via email to