1 | import { Y as YAxisStates, T as TooltipMeasureFormat } from './Enums-8f0d4a61';
|
2 | import { H as HorizontalMarker } from './Interfaces-a66857ee';
|
3 |
|
4 | declare class Strings {
|
5 | private stringValueDefaults;
|
6 | private stringValues;
|
7 | constructor();
|
8 | mergeStrings(stringKeyValues: any): void;
|
9 | getString(stringKey: string): any;
|
10 | toObject(): any;
|
11 | }
|
12 |
|
13 | interface swimLaneOption {
|
14 | yAxisType: YAxisStates;
|
15 | label?: string;
|
16 | onClick?: (lane: number) => any;
|
17 | collapseEvents?: string;
|
18 | horizontalMarkers?: Array<HorizontalMarker>;
|
19 | }
|
20 | declare class ChartOptions {
|
21 | aggTopMargin: number;
|
22 | arcWidthRatio: number;
|
23 | autoTriggerBrushContextMenu: boolean;
|
24 | availabilityLeftMargin: number;
|
25 | bucketSizeMillis: number;
|
26 | brushClearable: boolean;
|
27 | brushContextMenuActions: Array<any>;
|
28 | brushHandlesVisible: boolean;
|
29 | brushMoveAction: any;
|
30 | brushMoveEndAction: any;
|
31 | brushRangeVisible: boolean;
|
32 | canDownload: boolean;
|
33 | color: string;
|
34 | colors: Array<string>;
|
35 | dateLocale: string;
|
36 | defaultAvailabilityZoomRangeMillis: number;
|
37 | defaultColor: any;
|
38 | dTPIsModal: boolean;
|
39 | ellipsisItems: Array<any>;
|
40 | focusHidden: boolean;
|
41 | fromChart: boolean;
|
42 | grid: boolean;
|
43 | hideChartControlPanel: boolean;
|
44 | includeDots: boolean;
|
45 | includeEnvelope: boolean;
|
46 | includeTimezones: boolean;
|
47 | initialValue: any;
|
48 | interpolationFunction: any;
|
49 | isArea: boolean;
|
50 | isColorValueHidden: boolean;
|
51 | isCompact: boolean;
|
52 | isTemporal: boolean;
|
53 | is24HourTime: boolean;
|
54 | keepBrush: boolean;
|
55 | keepSplitByColor: boolean;
|
56 | labelSeriesWithMarker: boolean;
|
57 | legend: string;
|
58 | markers: Array<any>;
|
59 | maxBuckets: number;
|
60 | minBrushWidth: number;
|
61 | minutesForTimeLabels: boolean;
|
62 | noAnimate: boolean;
|
63 | numberOfColors: number;
|
64 | updateInterval: number;
|
65 | offset: any;
|
66 | onClick: (d3Event: any) => void;
|
67 | onInput: (searchText: string, event: any) => void;
|
68 | onInstanceClick: (instance: any) => any;
|
69 | onKeydown: (d3Event: any, awesompleteObject: any) => void;
|
70 | onMarkersChange: (markers: Array<number>) => any;
|
71 | onMouseout: () => void;
|
72 | onMouseover: (aggKey: string, splitBy: string) => void;
|
73 | onSelect: (value: any) => void;
|
74 | onSticky: (aggKey: string, splitBy: string) => void;
|
75 | onUnsticky: (aggKey: string, splitBy: string) => void;
|
76 | preserveAvailabilityState: boolean;
|
77 | persistDateTimeButtonRange: boolean;
|
78 | scaledToCurrentTime: boolean;
|
79 | spMeasures: Array<string>;
|
80 | scatterPlotRadius: Array<number>;
|
81 | spAxisLabels: Array<string>;
|
82 | singleLineXAxisLabel: boolean;
|
83 | snapBrush: boolean;
|
84 | stacked: boolean;
|
85 | shouldSticky: boolean;
|
86 | strings: any;
|
87 | suppressResizeListener: boolean;
|
88 | swimLaneOptions: {
|
89 | [key: number]: swimLaneOption;
|
90 | } | null;
|
91 | theme: string;
|
92 | timeFrame: any;
|
93 | timestamp: any;
|
94 | tooltip: boolean;
|
95 | throttleSlider: boolean;
|
96 | warmStoreRange: Array<string>;
|
97 | xAxisHidden: boolean;
|
98 | xAxisTimeFormat: (d: any, i: any, isFirst: any, isLast: any) => {};
|
99 | yAxisHidden: boolean;
|
100 | yAxisState: string;
|
101 | yExtent: any;
|
102 | zeroYAxis: boolean;
|
103 | withContextMenu: boolean;
|
104 | hierarchyOptions: any;
|
105 | onError: (titleKey: any, messageKey: any, xhr: any) => any;
|
106 | timeSeriesIdProperties: Array<{
|
107 | name: string;
|
108 | type: any;
|
109 | }>;
|
110 | stringsInstance: Strings;
|
111 | private getInterpolationFunction;
|
112 | setOptions(chartOptionsObj: any): void;
|
113 | private mergeStrings;
|
114 | private mergeValue;
|
115 | toObject(): {
|
116 | grid: boolean;
|
117 | preserveAvailabilityState: boolean;
|
118 | persistDateTimeButtonRange: boolean;
|
119 | isCompact: boolean;
|
120 | keepBrush: boolean;
|
121 | isArea: boolean;
|
122 | noAnimate: boolean;
|
123 | minutesForTimeLabels: boolean;
|
124 | aggTopMargin: number;
|
125 | color: string;
|
126 | maxBuckets: number;
|
127 | yAxisHidden: boolean;
|
128 | focusHidden: boolean;
|
129 | singleLineXAxisLabel: boolean;
|
130 | legend: string;
|
131 | tooltip: boolean;
|
132 | throttleSlider: boolean;
|
133 | snapBrush: boolean;
|
134 | minBrushWidth: number;
|
135 | theme: string;
|
136 | keepSplitByColor: boolean;
|
137 | brushContextMenuActions: any[];
|
138 | timeFrame: any;
|
139 | fromChart: boolean;
|
140 | timestamp: any;
|
141 | stacked: boolean;
|
142 | scaledToCurrentTime: boolean;
|
143 | zeroYAxis: boolean;
|
144 | arcWidthRatio: number;
|
145 | brushClearable: boolean;
|
146 | brushMoveAction: any;
|
147 | yAxisState: string;
|
148 | xAxisHidden: boolean;
|
149 | suppressResizeListener: boolean;
|
150 | brushMoveEndAction: any;
|
151 | onMouseout: () => void;
|
152 | onMouseover: (aggKey: string, splitBy: string) => void;
|
153 | onSticky: (aggKey: string, splitBy: string) => void;
|
154 | onUnsticky: (aggKey: string, splitBy: string) => void;
|
155 | onKeydown: (d3Event: any, awesompleteObject: any) => void;
|
156 | onInput: (searchText: string, event: any) => void;
|
157 | brushHandlesVisible: boolean;
|
158 | hideChartControlPanel: boolean;
|
159 | offset: any;
|
160 | is24HourTime: () => boolean;
|
161 | includeTimezones: boolean;
|
162 | availabilityLeftMargin: number;
|
163 | onInstanceClick: (instance: any) => any;
|
164 | interpolationFunction: any;
|
165 | includeEnvelope: boolean;
|
166 | canDownload: boolean;
|
167 | withContextMenu: boolean;
|
168 | autoTriggerBrushContextMenu: boolean;
|
169 | includeDots: boolean;
|
170 | yExtent: any;
|
171 | ellipsisItems: any[];
|
172 | markers: any[];
|
173 | onMarkersChange: (markers: number[]) => any;
|
174 | xAxisTimeFormat: (d: any, i: any, isFirst: any, isLast: any) => {};
|
175 | spMeasures: string[];
|
176 | scatterPlotRadius: number[];
|
177 | spAxisLabels: string[];
|
178 | brushRangeVisible: boolean;
|
179 | strings: any;
|
180 | dateLocale: string;
|
181 | defaultAvailabilityZoomRangeMillis: number;
|
182 | warmStoreRange: string[];
|
183 | initialValue: any;
|
184 | bucketSizeMillis: number;
|
185 | updateInterval: number;
|
186 | dTPIsModal: boolean;
|
187 | numberOfColors: number;
|
188 | defaultColor: any;
|
189 | isColorValueHidden: boolean;
|
190 | onClick: (d3Event: any) => void;
|
191 | onSelect: (value: any) => void;
|
192 | colors: string[];
|
193 | swimLaneOptions: {
|
194 | [key: number]: swimLaneOption;
|
195 | };
|
196 | hierarchyOptions: any;
|
197 | onError: (titleKey: any, messageKey: any, xhr: any) => any;
|
198 | labelSeriesWithMarker: boolean;
|
199 | timeSeriesIdProperties: {
|
200 | name: string;
|
201 | type: any;
|
202 | }[];
|
203 | shouldSticky: boolean;
|
204 | };
|
205 | }
|
206 |
|
207 | declare class Component {
|
208 | renderTarget: any;
|
209 | protected currentTheme: string;
|
210 | readonly TRANSDURATION: number;
|
211 | usesSeconds: boolean;
|
212 | usesMillis: boolean;
|
213 | protected chartOptions: ChartOptions;
|
214 | protected getString(str: string): any;
|
215 | constructor(renderTarget: Element);
|
216 | protected themify(targetElement: any, theme: string): void;
|
217 | protected teardropD: (width: any, height: any) => string;
|
218 | protected tooltipFormat(d: any, text: any, measureFormat: TooltipMeasureFormat, xyrMeasures?: any): void;
|
219 | protected createTooltipSeriesInfo(d: any, group: any, cDO: any): void;
|
220 | }
|
221 |
|
222 | export { Component as C, ChartOptions as a };
|