Optional
type: SymbolType | ((this, d, ...args) => SymbolType)The specified type.
Optional
size: number | ((this, d, ...args) => number)The specified size.
Constructs a new symbol generator of the specified type and size. If not specified, type defaults to a circle, and size defaults to 64.
The first generic corresponds to the "this" context within which the symbol generator is invoked. The second generic corresponds to the data type of the datum underlying the symbol.
Optional
type: SymbolType | ((this, d, ...args) => SymbolType)The specified type.
Optional
size: number | ((this, d, ...args) => number)The specified size.
Constructs a new symbol generator of the specified type and size. If not specified, type defaults to a circle, and size defaults to 64.
The first generic corresponds to the "this" context within which the symbol generator is invoked. The second generic corresponds to the data type of the datum underlying the symbol.