Methods
center
- center(): [number, number]
- center(center: [number, number]): Zoom<Datum>
-
Returns [number, number]
-
Parameters
Returns Zoom<Datum>
event
-
Parameters
Returns void
-
Parameters
Returns void
on
- on(type: string): function
- on(type: string, listener: function): Zoom<Datum>
-
Parameters
Returns function
-
- (d: Datum, i: number): any
-
Parameters
-
type: string
-
listener: function
-
- (d: Datum, i: number): any
Returns Zoom<Datum>
scale
- scale(): number
- scale(scale: number): Zoom<Datum>
-
Returns number
-
Parameters
Returns Zoom<Datum>
scaleExtent
- scaleExtent(): [number, number]
- scaleExtent(extent: [number, number]): Zoom<Datum>
-
Returns [number, number]
-
Parameters
Returns Zoom<Datum>
size
- size(): [number, number]
- size(size: [number, number]): Zoom<Datum>
-
Returns [number, number]
-
Parameters
Returns Zoom<Datum>
translate
- translate(): [number, number]
- translate(translate: [number, number]): Zoom<Datum>
-
Returns [number, number]
-
Parameters
-
translate: [number, number]
Returns Zoom<Datum>
x
-
-
Parameters
Returns Zoom<Datum>
y
-
-
Parameters
Returns Zoom<Datum>