line()

line(data)

Generates a line for the given array of data. Depending on this line generator’s associated curve, the given input data may need to be sorted by x-value before being passed to the line generator. If the line generator has a context, then the line is rendered to this context as a sequence of path method calls and this function returns void. Otherwise, a path data string is returned.

doc_D3_Js
2016-11-24 10:27:55
Comments
Leave a Comment

Please login to continue.