Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Meitar

    (@meitar)

    Because you have a typo in your attribute name. It’s chart_h_axis, not chart_haxis. 😉

    Thread Starter Manthony

    (@mikeanthony1)

    Thanks Meitar;

    My confusion is that when I consult the google charts api documentation, the format and naming conventions are different than the plugin, is there a definitive plugin guideline for config options or how to “convert” the api usage to the plugin usage?

    Two examples of the difference:

    PLUGIN:
    chart_background_color

    example: chart_background_color='{“fill”:”#fff”,”stroke”:”#999″,”strokeWidth”:2}’
    chart_h_axis

    GOOGLE API:

    backgroundColor
    hAxis

    thanks again, this helps greatly and the plugin works magnificently!

    Plugin Author Meitar

    (@meitar)

    is there a definitive plugin guideline for config options or how to “convert” the api usage to the plugin usage?

    Yup. This is explained in the plugin’s FAQ. An excerpt:

    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.

    There is also a complete list of the supported attributes in the readme file that ships with the plugin under the Other Notes heading.

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

The topic ‘haxis title not working’ is closed to new replies.