Methods
attr
-
Parameters
-
Parameters
-
name: string
-
value: function
-
- (datum: Datum, index: number, outerIndex: number): Primitive
-
Parameters
-
datum: Datum
-
index: number
-
outerIndex: number
-
Parameters
attrTween
- attrTween(name: string, tween: function): Transition<Datum>
-
Parameters
-
name: string
-
tween: function
-
- (datum: Datum, index: number, attr: string): function
-
Parameters
-
datum: Datum
-
index: number
-
attr: string
Returns function
call
- call(func: function, ...args: any[]): Transition<Datum>
-
Parameters
-
func: function
-
- (transition: Transition<Datum>, ...args: any[]): any
-
Rest ...args: any[]
delay
-
Returns number
-
Parameters
-
Parameters
-
delay: function
-
- (datum: Datum, index: number, outerIndex: number): number
-
Parameters
-
datum: Datum
-
index: number
-
outerIndex: number
Returns number
duration
- duration(): number
- duration(duration: number): Transition<Datum>
- duration(duration: function): Transition<Datum>
-
Returns number
-
Parameters
-
Parameters
-
duration: function
-
- (datum: Datum, index: number, outerIndex: number): number
-
Parameters
-
datum: Datum
-
index: number
-
outerIndex: number
Returns number
each
- each(type: string, listener: function): Transition<Datum>
- each(listener: function): Transition<Datum>
-
Parameters
-
type: string
-
listener: function
-
- (d: Datum, i: number): any
-
Parameters
-
listener: function
-
- (d: Datum, i: number): any
ease
- ease(): function
- ease(value: string, ...args: any[]): Transition<Datum>
- ease(value: function): Transition<Datum>
-
Returns function
-
-
Parameters
Returns number
-
Parameters
-
value: string
-
Rest ...args: any[]
-
Parameters
-
value: function
-
-
Parameters
Returns number
filter
-
Parameters
-
Parameters
-
selector: function
-
- (d: Datum, i: number): boolean
-
Parameters
Returns boolean
select
-
Parameters
-
Parameters
-
selector: function
-
- (d: Datum, i: number): EventTarget
-
Parameters
Returns EventTarget
selectAll
-
Parameters
-
Parameters
-
selector: function
-
- (d: Datum, i: number): EventTarget[]
-
Parameters
Returns EventTarget[]
style
- style(name: string, value: Primitive, priority?: string): Transition<Datum>
- style(name: string, value: function, priority?: string): Transition<Datum>
- style(obj: object, priority?: string): Transition<Datum>
-
Parameters
-
name: string
-
-
Optional priority: string
-
Parameters
-
name: string
-
value: function
-
- (datum: Datum, index: number, outerIndex: number): Primitive
-
Parameters
-
datum: Datum
-
index: number
-
outerIndex: number
-
Optional priority: string
-
Parameters
-
obj: object
-
Optional priority: string
styleTween
- styleTween(name: string, tween: function, priority?: string): Transition<Datum>
-
Parameters
-
name: string
-
tween: function
-
- (datum: Datum, index: number, attr: string): Primitive
-
Parameters
-
datum: Datum
-
index: number
-
attr: string
-
Optional priority: string
text
-
Parameters
-
Parameters
-
value: function
-
- (datum: Datum, index: number, outerIndex: number): Primitive
-
Parameters
-
datum: Datum
-
index: number
-
outerIndex: number
tween
- tween(name: string, factory: function): Transition<Datum>
-
Parameters
-
name: string
-
factory: function