Draws a line in the component. Can be use with Bar.
Examples
Parameters
-
xValues
The values in the x axis.
-
yValues
The values in the y axis.
-
color
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
Name of the line. Should be unique. If a line with the same name exist this function will replace the old one.