@uwdata/mosaic-plot
Version:
A Mosaic-powered plotting framework based on Observable Plot.
34 lines • 916 B
TypeScript
/**
* @import {Activatable} from '@uwdata/mosaic-core'
* @implements {Activatable}
*/
export class PanZoom implements Activatable {
constructor(mark: any, { x, y, xfield, yfield, zoom, panx, pany }: {
x?: Selection;
y?: Selection;
xfield: any;
yfield: any;
zoom?: boolean;
panx?: boolean;
pany?: boolean;
});
mark: any;
xsel: Selection;
ysel: Selection;
xfield: any;
yfield: any;
zoom: any;
panx: boolean;
pany: boolean;
publish(transform: any): void;
clause(value: any, field: any, scale: any): import("@uwdata/mosaic-core").SelectionClause;
init(svg: any): void;
svg: any;
initialized: boolean;
xscale: any;
yscale: any;
activate(): void;
}
import type { Activatable } from '@uwdata/mosaic-core';
import { Selection } from '@uwdata/mosaic-core';
//# sourceMappingURL=PanZoom.d.ts.map