symbol.type()

symbol.type([type])

If type is specified, sets the symbol type to the specified function or symbol type and returns this line generator. If type is not specified, returns the current symbol type accessor, which defaults to:

function type() {
  return circle;
}

See symbols for the set of built-in symbol types. To implement a custom symbol type, pass an object that implements symbolType.draw.

doc_D3_Js
2016-11-24 10:29:11
Comments
Leave a Comment

Please login to continue.