Plot(IList<object>, IList<object>, string, string)

Draws a line in the component. Can be use with Bar.

Declaration Syntax

public void Plot(IList<object> xValues, IList<object> yValues, string color, string key)

Parameters

xValues(IList<object>)

The values in the x axis.

yValues(IList<object>)

The values in the y axis.

color(string)

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(string)

Name of the line. Should be unique. If a line with the same name exist this function will replace the old one.