|
|
|
@ -8,13 +8,13 @@ import * as d3 from 'd3';
|
|
|
|
|
declare abstract class ChartwerkPod<T extends TimeSerie, O extends Options> { |
|
|
|
|
protected readonly el: HTMLElement; |
|
|
|
|
protected d3Node?: d3.Selection<HTMLElement, unknown, null, undefined>; |
|
|
|
|
protected chartContainer?: d3.Selection<SVGGElement, unknown, null, undefined>; |
|
|
|
|
protected customOverlay?: d3.Selection<SVGRectElement, unknown, null, undefined>; |
|
|
|
|
protected crosshair?: d3.Selection<SVGGElement, unknown, null, undefined>; |
|
|
|
|
protected brush?: d3.BrushBehavior<unknown>; |
|
|
|
|
protected zoom?: any; |
|
|
|
|
protected svg?: d3.Selection<SVGElement, unknown, null, undefined>; |
|
|
|
|
protected state?: PodState<T, O>; |
|
|
|
|
protected state: PodState<T, O>; |
|
|
|
|
protected pan?: any; |
|
|
|
|
protected clipPath?: any; |
|
|
|
|
protected isPanning: boolean; |
|
|
|
|
protected isBrushing: boolean; |
|
|
|
@ -32,6 +32,8 @@ declare abstract class ChartwerkPod<T extends TimeSerie, O extends Options> {
|
|
|
|
|
protected readonly d3: typeof d3; |
|
|
|
|
protected deltaYTransform: number; |
|
|
|
|
protected debouncedRender: import("lodash").DebouncedFunc<any>; |
|
|
|
|
protected chartContainer: d3.Selection<SVGGElement, unknown, null, undefined>; |
|
|
|
|
protected metricContainer: d3.Selection<SVGGElement, unknown, null, undefined>; |
|
|
|
|
protected grid: Grid; |
|
|
|
|
constructor(_d3: typeof d3, el: HTMLElement, _series: T[], _options: O); |
|
|
|
|
protected addEventListeners(): void; |
|
|
|
@ -51,6 +53,7 @@ declare abstract class ChartwerkPod<T extends TimeSerie, O extends Options> {
|
|
|
|
|
abstract hideSharedCrosshair(): void; |
|
|
|
|
protected initPodState(): void; |
|
|
|
|
protected initComponents(): void; |
|
|
|
|
protected renderMetricsContainer(): void; |
|
|
|
|
protected createSvg(): void; |
|
|
|
|
protected renderGrid(): void; |
|
|
|
|
protected renderAxes(): void; |
|
|
|
|