This function creates a bar graph with data from the variables including custom labels, axes and colours. It is an effective way to present comparable data as literal numbers. A legend or key is added by default but just set this to 'false' if it is not needed. You can pass an array or an array variable into variables parameter. Useful with functions like row_names_in_category.
Basic format: "content_name": ["create_simple_bar_graph",
["label1", "label2", ...],
["var1", "var2", ...],
["x_axis_title", "y_axis_title"],
"location_id",
["colour1", "colour2", ...],
"width",
"height",
"legend"]
e.g: "bar_graph1": ["create_simple_bar_graph", ["Fouls Won", "Carries", "TestVal"], ["FoulWon", "Carry", 30], ["", "Count"], "#B2", ["yellow", "fulcrum", "red"], 500, 300]