Draws bar chart in the component. Can be use with Line.
Examples
Parameters
-
labels
The name of each bars. (x axis)
-
values
The values of bars. (y axis)
-
colors
The color of each bars.
Color of the line. You can use "r" for red, "b" for blue, "g" for green, "m" for magenta, "c" for cyan, "y" for yellow, "k" for black and "w" for white.
You can also specify the hexadecimal code : "#XXXXXX" with X between 0 and F.
The two first number define the red component, the third and the fourth define the green component and the two last numbers define the blue component.
-
key
Group name, if a group with the same name already exist this function will replace the old one.