• Resolved codesamurai

    (@codesamurai)


    I’m trying to change the following for a stacked bar chart:

    • Center the title above the graph
    • Change the height/size of the bars within the graph. Right now they are narrow, I want them to be larger
    • Change the colors of each bar in the graph
    • Change the font size and style of the title and legend text. Also, would like to make these bold
    • Not sure if this possible, but I would like to put text within a bar if a condition is met. This might be a Google graph question and I searched but couldn’t find an answers. I wasn’t sure if the plugin had a property for this I could use or if you offered any guidance.

    I looked through the documentation for the plugin and found some properties relating to font style but no matter what property I used, nothing worked. I could use some guidance on what properties I need to utilize to make the above changes. If someone could send some examples, that would be extremely helpful.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • From my own experience working with the plugin, most of these can be done and the “how to” is found in a combination of the Google docs and the plugin info and FAQ.

    Also, if you want some guidance, I’d suggest you post what you’ve tried.

    Plugin Author Meitar

    (@meitar)

    If it’s not in Google’s list, it can’t be done. If it is in their list, it can. Referring to the documentation is the best way to know. For example,

    Change the font size and style of the title and legend text. Also, would like to make these bold

    There is legend.textStyle on the linked Google documentation page, so, chart_legend='{"textStyle":{"bold":true}}'. But I’ll not write each one of these out for you. That’s your job.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Change Styles for Stacked Bar Chart’ is closed to new replies.