UNPKG

5.04 kBTypeScriptView Raw
1import { C as ChartComponentData } from './ChartComponentData-d183191c';
2import { T as TemporalXAxisComponent } from './TemporalXAxisComponent-7a49c1ca';
3
4declare class LineChartData extends ChartComponentData {
5 timeMap: any;
6 get yExtents(): Array<any>;
7 private _yExtents;
8 setYExtents(idx: number, value: [number, number]): void;
9 resetYExtents(): void;
10 setTimeMap(): void;
11 constructor();
12 mergeDataToDisplayStateAndTimeArrays(data: any, aggregateExpressionOptions?: any): void;
13}
14
15declare class LineChart extends TemporalXAxisComponent {
16 private targetElement;
17 private focus;
18 private horizontalValueBox;
19 private verticalValueBox;
20 private horizontalValueBar;
21 private contextMenu;
22 private brushContextMenu;
23 private setDisplayStateFromData;
24 private minBrushWidth;
25 private strokeOpacity;
26 private nonFocusStrokeOpactiy;
27 chartComponentData: LineChartData;
28 private surpressBrushTimeSet;
29 private hasStackedButton;
30 private stackedButton;
31 private visibleAggCount;
32 private swimLaneLabelGroup;
33 private horizontalLabelOffset;
34 private tooltip;
35 private height;
36 private xLowerBound;
37 private xUpperBound;
38 private y;
39 private yMap;
40 private line;
41 private areaPath;
42 private envelope;
43 private voronoi;
44 private possibleTimesArray;
45 private colorMap;
46 private markers;
47 private seriesLabelsMarker;
48 private markerGuidMap;
49 private isDroppingMarker;
50 private activeMarker;
51 private brush;
52 private brushElem;
53 brushStartTime: Date;
54 brushEndTime: Date;
55 private brushStartPosition;
56 private brushEndPosition;
57 private hasBrush;
58 private isClearingBrush;
59 private previousAggregateData;
60 private previousIncludeDots;
61 private voronoiDiagram;
62 private voronoiRegion;
63 private mx;
64 private my;
65 private focusedAggKey;
66 private focusedSplitby;
67 private plotComponents;
68 private isFirstMarkerDrop;
69 private xOffset;
70 private swimlaneYExtents;
71 private swimLaneContents;
72 private originalSwimLanes;
73 private originalSwimLaneOptions;
74 constructor(renderTarget: Element);
75 LineChart(): void;
76 getBrushPositions(): {
77 leftPos: any;
78 rightPos: any;
79 };
80 private resetValueElementsFocus;
81 private hideFocusElements;
82 private voronoiMouseout;
83 private createMarkerInstructions;
84 private destroyMarkerInstructions;
85 triggerLineFocus: (aggKey: string, splitBy: string) => void;
86 private getMouseoverFunction;
87 private getMouseoutFunction;
88 private focusOnlyHoveredSeries;
89 private discreteEventsMouseover;
90 private discreteEventsMouseout;
91 private mismatchingChartType;
92 private categoricalMouseover;
93 private categoricalMouseout;
94 private setHorizontalValuePosAndText;
95 private setVerticalValueAndPosition;
96 private voronoiMouseover;
97 private getYExtent;
98 private getFilteredValues;
99 private getFilteredAndSticky;
100 stickyOrUnstickySeries: (aggKey: any, splitBy: any) => void;
101 unstickySeries: (aggKey: any, splitby?: any) => void;
102 private stickySeries;
103 private getHandleHeight;
104 private getXPosition;
105 setBrushStartTime(startTime: any): void;
106 setBrushEndTime(endTime: any): void;
107 setBrush(): void;
108 private findClosestValidTime;
109 private getMarkerMarginLeft;
110 exportMarkers(): void;
111 private createOnMarkerChange;
112 private renderMarker;
113 private sortMarkers;
114 private getAllLinesTransitionsComplete;
115 private importMarkers;
116 private createSeriesLabelsMarker;
117 private renderSeriesLabelsMarker;
118 private renderAllMarkers;
119 private focusOnEllipsis;
120 private filteredValueExist;
121 addMarker: () => void;
122 private voronoiExists;
123 private voronoiMousemove;
124 private voronoiContextMenu;
125 private voronoiClick;
126 private getValueOfVisible;
127 private brushBrush;
128 private brushEnd;
129 private focusMarkerLabel;
130 labelMouseout: () => void;
131 labelMouseover: (aggregateKey: string, splitBy?: string) => void;
132 private drawBrushRange;
133 private getSVGLeftOffset;
134 updateBrushRange(): void;
135 deleteBrushRange(): void;
136 getYExtents(): any[];
137 private nextStackedState;
138 private clearBrush;
139 private getVisibleNumerics;
140 private getSwimlaneOffsets;
141 private setSwimLaneYExtents;
142 private getEventsCollapsedSwimlaneHeight;
143 private createYOffsets;
144 private heightNonNumeric;
145 private getGroupYExtent;
146 private getAggAxisType;
147 private adjustSwimLanes;
148 private overwriteSwimLanes;
149 private getHorizontalMarkersWithYScales;
150 private getAdditionalOffsetFromHorizontalMargin;
151 private drawHorizontalMarkers;
152 private createSwimlaneLabels;
153 render(data: any, options: any, aggregateExpressionOptions: any): void;
154 private createPlot;
155}
156
157export { LineChart as L };