@crysound/crychart 0.0.0-stage → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +288 -0
- package/LICENSE.zh-CN.md +290 -0
- package/README.md +82 -2
- package/README.zh-CN.md +79 -0
- package/dist/crychart.cjs +25234 -0
- package/dist/crychart.global.js +25236 -0
- package/dist/crychart.js +25211 -0
- package/dist/themes.js +357 -0
- package/dist/types/adapters/opentest.d.ts +69 -0
- package/dist/types/annotation-interaction.d.ts +36 -0
- package/dist/types/axis-canvas.d.ts +78 -0
- package/dist/types/axis-layout.d.ts +10 -0
- package/dist/types/axis-scroll-animation.d.ts +16 -0
- package/dist/types/axis.d.ts +532 -0
- package/dist/types/axis3d-label-layout.d.ts +45 -0
- package/dist/types/chart-events.d.ts +89 -0
- package/dist/types/chart.d.ts +674 -0
- package/dist/types/compatibility-types.d.ts +55 -0
- package/dist/types/component-highlight.d.ts +21 -0
- package/dist/types/contracts.d.ts +88 -0
- package/dist/types/core/data.d.ts +204 -0
- package/dist/types/core/events.d.ts +16 -0
- package/dist/types/core/line-delta-certificate.d.ts +70 -0
- package/dist/types/core/paged-columns.d.ts +180 -0
- package/dist/types/core/styles.d.ts +350 -0
- package/dist/types/css-text-fonts.d.ts +13 -0
- package/dist/types/cursor-api.d.ts +47 -0
- package/dist/types/custom-icon.d.ts +46 -0
- package/dist/types/data-bounds.d.ts +28 -0
- package/dist/types/data-order.d.ts +49 -0
- package/dist/types/data-runs.d.ts +15 -0
- package/dist/types/date-time-formatting.d.ts +32 -0
- package/dist/types/date-time-grid.d.ts +56 -0
- package/dist/types/formatting-functions.d.ts +16 -0
- package/dist/types/geometry.d.ts +378 -0
- package/dist/types/gradients.d.ts +37 -0
- package/dist/types/grid-layout.d.ts +10 -0
- package/dist/types/heatmap-stream.d.ts +38 -0
- package/dist/types/hierarchy.d.ts +191 -0
- package/dist/types/index.d.ts +75 -0
- package/dist/types/interaction-policy.d.ts +56 -0
- package/dist/types/line-block-cache.d.ts +146 -0
- package/dist/types/line-coverage-geometry.d.ts +28 -0
- package/dist/types/line-display-arena.d.ts +64 -0
- package/dist/types/line-display-cache.d.ts +144 -0
- package/dist/types/line-display-packets.d.ts +43 -0
- package/dist/types/line-extrema-pair-proof.d.ts +23 -0
- package/dist/types/line-palette-3d.d.ts +6 -0
- package/dist/types/line-selection-ledger.d.ts +143 -0
- package/dist/types/map.d.ts +219 -0
- package/dist/types/mesh3d.d.ts +306 -0
- package/dist/types/native-legend.d.ts +208 -0
- package/dist/types/point-fill.d.ts +14 -0
- package/dist/types/point-stroke-geometry.d.ts +12 -0
- package/dist/types/polar-heatmap.d.ts +68 -0
- package/dist/types/polar-layout.d.ts +100 -0
- package/dist/types/polar-series.d.ts +79 -0
- package/dist/types/raster-clip.d.ts +37 -0
- package/dist/types/render-heatmap.d.ts +117 -0
- package/dist/types/render-line-coverage.d.ts +95 -0
- package/dist/types/render-line-direction.d.ts +27 -0
- package/dist/types/render-line-offsets.d.ts +61 -0
- package/dist/types/render-line-strip.d.ts +102 -0
- package/dist/types/render-line-texture.d.ts +30 -0
- package/dist/types/render.d.ts +66 -0
- package/dist/types/render3d.d.ts +137 -0
- package/dist/types/result-table-layout.d.ts +39 -0
- package/dist/types/series-attributes.d.ts +7 -0
- package/dist/types/series.d.ts +404 -0
- package/dist/types/specialty.d.ts +551 -0
- package/dist/types/streaming-line-policy.d.ts +11 -0
- package/dist/types/stroke-geometry.d.ts +5 -0
- package/dist/types/themes.d.ts +32 -0
- package/dist/types/time-formatting.d.ts +23 -0
- package/dist/types/time-grid.d.ts +26 -0
- package/dist/types/ui.d.ts +207 -0
- package/dist/types/viewport.d.ts +18 -0
- package/dist/types/world-axis.d.ts +21 -0
- package/dist/types/world-camera.d.ts +88 -0
- package/dist/types/zoom-clock.d.ts +36 -0
- package/docs/npm-usage.md +31 -0
- package/package.json +66 -4
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
import { Icon } from './custom-icon.js';
|
|
2
|
+
import { DataSetXY, type DataSetXYOptions, type MaxSampleCount, type SampleColumns, type AppendSamplesOptions, type NumericArray } from "./core/data.js";
|
|
3
|
+
import { EventHub } from "./core/events.js";
|
|
4
|
+
import { type Color, TriangulatedPoints3D, type ColorShadingStyle } from "./core/styles.js";
|
|
5
|
+
import { Axis } from "./axis.js";
|
|
6
|
+
import { type DrawPacket, type RenderHost, type Interval, type Rect } from "./contracts.js";
|
|
7
|
+
import { type HeatmapCleaning } from './heatmap-stream.js';
|
|
8
|
+
import { type CoordinateClient, type SolveNearestMode, type SolveResultHeatmap, type SeriesCursorFormatter } from './cursor-api.js';
|
|
9
|
+
interface SeriesReadBackResult {
|
|
10
|
+
xValues: NumericArray;
|
|
11
|
+
yValues: NumericArray;
|
|
12
|
+
iSampleFirst: number;
|
|
13
|
+
zValues?: NumericArray;
|
|
14
|
+
lookupValues?: NumericArray;
|
|
15
|
+
colors?: NumericArray;
|
|
16
|
+
ids?: NumericArray;
|
|
17
|
+
sizes?: NumericArray;
|
|
18
|
+
rotations?: NumericArray;
|
|
19
|
+
/** Legacy Core alias; nonenumerable so native consumers receive flat fields. */
|
|
20
|
+
readonly data: Record<string, NumericArray>;
|
|
21
|
+
}
|
|
22
|
+
export declare const palette: Color[];
|
|
23
|
+
export declare function fillColor(fill: any, fallback?: Color): Color;
|
|
24
|
+
export interface SeriesOptions extends DataSetXYOptions {
|
|
25
|
+
axisX?: Axis;
|
|
26
|
+
axisY?: Axis;
|
|
27
|
+
axisZ?: Axis;
|
|
28
|
+
dataSet?: DataSetXY;
|
|
29
|
+
dataPattern?: any;
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}
|
|
32
|
+
export declare class PointLineAreaSeries {
|
|
33
|
+
readonly chart: RenderHost;
|
|
34
|
+
private readonly componentHighlight;
|
|
35
|
+
readonly id: number;
|
|
36
|
+
readonly events: EventHub;
|
|
37
|
+
readonly axisX: Axis;
|
|
38
|
+
readonly axisY: Axis;
|
|
39
|
+
readonly axisZ?: Axis;
|
|
40
|
+
readonly kind: string;
|
|
41
|
+
name: string;
|
|
42
|
+
visible: boolean;
|
|
43
|
+
disposed: boolean;
|
|
44
|
+
highlight: number;
|
|
45
|
+
mouseInteractions: boolean;
|
|
46
|
+
cursorEnabled: boolean;
|
|
47
|
+
private seriesCursorFormatting?;
|
|
48
|
+
stroke: any;
|
|
49
|
+
pointFill: any;
|
|
50
|
+
pointStroke: any;
|
|
51
|
+
areaFill: any;
|
|
52
|
+
pointSize: number;
|
|
53
|
+
private individualSize;
|
|
54
|
+
private individualRotation;
|
|
55
|
+
private individualColor;
|
|
56
|
+
private individualValue;
|
|
57
|
+
private attributes;
|
|
58
|
+
pointShape: any;
|
|
59
|
+
pointRotation: number;
|
|
60
|
+
private colorShadingStyle;
|
|
61
|
+
private visibleFitCache;
|
|
62
|
+
private highlightOnHover;
|
|
63
|
+
private curvePreprocessing;
|
|
64
|
+
areaBaseline: number;
|
|
65
|
+
protected dataSet: DataSetXY;
|
|
66
|
+
protected changeToken: symbol;
|
|
67
|
+
protected mapping: Record<string, string>;
|
|
68
|
+
private usesDefaultColumns;
|
|
69
|
+
protected styleRevision: number;
|
|
70
|
+
private packetRevision;
|
|
71
|
+
private packed?;
|
|
72
|
+
private projectionStorage?;
|
|
73
|
+
private lineBlocks?;
|
|
74
|
+
private lineBlockResult?;
|
|
75
|
+
private lineDisplay?;
|
|
76
|
+
private lineDisplayResult?;
|
|
77
|
+
private projectionMonotonicX;
|
|
78
|
+
private projectionStrictX;
|
|
79
|
+
private projectionState?;
|
|
80
|
+
constructor(chart: RenderHost, options?: SeriesOptions, kind?: string);
|
|
81
|
+
protected changed(): void;
|
|
82
|
+
getDataSet(): DataSetXY;
|
|
83
|
+
private bindingRevision;
|
|
84
|
+
getDataBindingRevision(): number;
|
|
85
|
+
getStyleRevision(): number;
|
|
86
|
+
getLastPoint(): any;
|
|
87
|
+
getXMin(): number | undefined;
|
|
88
|
+
getXMax(): number | undefined;
|
|
89
|
+
getYMin(): number | undefined;
|
|
90
|
+
getYMax(): number | undefined;
|
|
91
|
+
getZMin(): number | undefined;
|
|
92
|
+
getZMax(): number | undefined;
|
|
93
|
+
setDataSet(value: DataSetXY): this;
|
|
94
|
+
setDataMapping(value: Record<string, string>): this;
|
|
95
|
+
getDataMapping(): {
|
|
96
|
+
[x: string]: string;
|
|
97
|
+
};
|
|
98
|
+
setCurvePreprocessing(value: {
|
|
99
|
+
type: 'spline';
|
|
100
|
+
resolution?: number;
|
|
101
|
+
} | {
|
|
102
|
+
type: 'step';
|
|
103
|
+
step?: string;
|
|
104
|
+
} | undefined): this;
|
|
105
|
+
getCurvePreprocessing(): {
|
|
106
|
+
type: "spline";
|
|
107
|
+
resolution: 0;
|
|
108
|
+
} | undefined;
|
|
109
|
+
appendSamples(values: SampleColumns, options?: AppendSamplesOptions): this;
|
|
110
|
+
/** Row-oriented trajectory input, preserving the same data mapping and storage. */
|
|
111
|
+
appendJSON(points: readonly Record<string, any>[]): this;
|
|
112
|
+
add(points: any | any[]): this;
|
|
113
|
+
addArraysXY(x: ArrayLike<number>, y: ArrayLike<number>): this;
|
|
114
|
+
addArraysXYZ(x: ArrayLike<number>, y: ArrayLike<number>, z: ArrayLike<number>): this;
|
|
115
|
+
addArrayY(y: ArrayLike<number>): this;
|
|
116
|
+
clear(): this;
|
|
117
|
+
setMaxSampleCount(value?: MaxSampleCount): this;
|
|
118
|
+
getMaxSampleCount(): number | undefined;
|
|
119
|
+
getSampleCount(): number;
|
|
120
|
+
getPointCount(): number;
|
|
121
|
+
getPointAmount(): number;
|
|
122
|
+
protected ensureAttributeColumns(keys: string[]): void;
|
|
123
|
+
getNextSampleIndex(): number;
|
|
124
|
+
readBack(options?: any): SeriesReadBackResult;
|
|
125
|
+
getPoints(): any[];
|
|
126
|
+
getSample(i: number): any;
|
|
127
|
+
private findNearestXIndex;
|
|
128
|
+
findNearestX(target: number): any;
|
|
129
|
+
solveNearest(from: CoordinateClient | {
|
|
130
|
+
x: number;
|
|
131
|
+
y: number;
|
|
132
|
+
}, mode?: SolveNearestMode): any;
|
|
133
|
+
setName(value: string): this;
|
|
134
|
+
getName(): string;
|
|
135
|
+
setVisible(value: boolean): this;
|
|
136
|
+
getVisible(): boolean;
|
|
137
|
+
setStrokeStyle(value: any): this;
|
|
138
|
+
getStrokeStyle(): any;
|
|
139
|
+
setColorShadingStyle(value: ColorShadingStyle): this;
|
|
140
|
+
getColorShadingStyle(): import("./index.js").SimpleShadingStyle | undefined;
|
|
141
|
+
setHighlightOnHover(value: boolean): this;
|
|
142
|
+
getHighlightOnHover(): boolean;
|
|
143
|
+
setPointFillStyle(value: any): this;
|
|
144
|
+
getPointFillStyle(): any;
|
|
145
|
+
setPointStrokeStyle(value: any): this;
|
|
146
|
+
getPointStrokeStyle(): any;
|
|
147
|
+
setPointSize(value: number): this;
|
|
148
|
+
getPointSize(): number;
|
|
149
|
+
setPointStyle(value: TriangulatedPoints3D | ((previous: TriangulatedPoints3D) => TriangulatedPoints3D)): this;
|
|
150
|
+
getPointStyle(): TriangulatedPoints3D;
|
|
151
|
+
setIndividualPointSizeEnabled(value: boolean): this;
|
|
152
|
+
getIndividualPointSizeEnabled(): boolean;
|
|
153
|
+
setIndividualPointRotationEnabled(value: boolean): this;
|
|
154
|
+
getIndividualPointRotationEnabled(): boolean;
|
|
155
|
+
setIndividualPointColorEnabled(value: boolean): this;
|
|
156
|
+
getIndividualPointColorEnabled(): boolean;
|
|
157
|
+
setIndividualPointValueEnabled(value: boolean): this;
|
|
158
|
+
getIndividualPointValueEnabled(): boolean;
|
|
159
|
+
setPointShape(value: number | string | Icon): this;
|
|
160
|
+
getPointShape(): any;
|
|
161
|
+
setPointRotation(value: number): this;
|
|
162
|
+
getPointRotation(): number;
|
|
163
|
+
setAreaFillStyle(value: any): this;
|
|
164
|
+
getAreaFillStyle(): any;
|
|
165
|
+
setFillStyle(value: any): this;
|
|
166
|
+
getFillStyle(): any;
|
|
167
|
+
setAreaBaseline(value: number): this;
|
|
168
|
+
setMouseInteractions(value: boolean): this;
|
|
169
|
+
setMouseInteractionsEnabled(value: boolean): this;
|
|
170
|
+
setCursorEnabled(value: boolean): this;
|
|
171
|
+
getCursorEnabled(): boolean;
|
|
172
|
+
setCursorResultTableFormatter(value: any): this;
|
|
173
|
+
setCursorFormattingOverride(formatter: SeriesCursorFormatter | undefined): this;
|
|
174
|
+
getCursorFormattingOverride(): SeriesCursorFormatter | undefined;
|
|
175
|
+
formatCursorRows(hit: any, before: any[][]): any[][] | undefined;
|
|
176
|
+
cursorFormatter: any;
|
|
177
|
+
setHighlight(value: boolean | number): this;
|
|
178
|
+
getHighlight(): number;
|
|
179
|
+
setAnimationHighlight(enabled: boolean): this;
|
|
180
|
+
getAnimationHighlight(): boolean;
|
|
181
|
+
advanceHighlight(timestamp: number): void;
|
|
182
|
+
hasPendingHighlight(): boolean;
|
|
183
|
+
getHighlightStrength(): number;
|
|
184
|
+
cancelHighlightAnimation(): void;
|
|
185
|
+
suspendHighlightAnimation(): void;
|
|
186
|
+
resolveRenderColor(color: ReturnType<typeof fillColor>): Color;
|
|
187
|
+
private highlightedLinePackets;
|
|
188
|
+
setEffect(value: any): this;
|
|
189
|
+
setDataCleaning(value: any): this;
|
|
190
|
+
getAxisX(): Axis;
|
|
191
|
+
getAxisY(): Axis;
|
|
192
|
+
getAxisZ(): Axis | undefined;
|
|
193
|
+
on(type: string, fn: any): symbol;
|
|
194
|
+
off(typeOrToken: any, token?: any): boolean;
|
|
195
|
+
dispose(): this;
|
|
196
|
+
isDisposed(): boolean;
|
|
197
|
+
protected assertAlive(): void;
|
|
198
|
+
bounds(dimension: "x" | "y" | "z"): Interval | undefined;
|
|
199
|
+
/** Internal sample-domain fit query. No source columns or readBack copies are materialized. */
|
|
200
|
+
boundsWithinOtherAxis(dimension: 'x' | 'y', range: Interval): Interval | undefined;
|
|
201
|
+
/** Experimental block preparation; ChartXY invokes it only when explicitly
|
|
202
|
+
* configured and using WebGL. The compatibility drawPacket API stays intact.
|
|
203
|
+
*/
|
|
204
|
+
drawLinePackets(rect: Rect, dpr?: number, plotRect?: Rect): readonly DrawPacket[];
|
|
205
|
+
getLineBlockStats(): {
|
|
206
|
+
residentBlocks: number;
|
|
207
|
+
residentProjectionBytes: number;
|
|
208
|
+
projectedSamplesThisUpdate: number;
|
|
209
|
+
positionPairsWrittenThisUpdate: number;
|
|
210
|
+
evictedBlocksThisUpdate: number;
|
|
211
|
+
reusedBlocksThisUpdate: number;
|
|
212
|
+
requestedSegments: number;
|
|
213
|
+
sourceRetainedSamples: number;
|
|
214
|
+
sourceReduction: false;
|
|
215
|
+
} | undefined;
|
|
216
|
+
private clearLineDisplayCache;
|
|
217
|
+
private highPrecisionLinePacketsSafe;
|
|
218
|
+
/** Dense bounded streams use a screen-space view only for opaque solid
|
|
219
|
+
* lines. Source values, raw bounds and cursor lookup stay on the DataSet.
|
|
220
|
+
* Small windows and unsupported styles keep the lossless block pipeline. */
|
|
221
|
+
drawStreamingLinePackets(plotRect: Rect, clipRect?: Rect, dpr?: number): readonly DrawPacket[];
|
|
222
|
+
/** Explicit display-only candidate. Raw bounds, sample APIs and cursor lookup
|
|
223
|
+
* retain the original DataSet. Unsupported geometry falls back atomically. */
|
|
224
|
+
drawLineDisplayPackets(plotRect: Rect, clipRect?: Rect, dpr?: number, maximumPixelSpan?: number, pagePackets?: boolean, streamingArena?: boolean): readonly DrawPacket[];
|
|
225
|
+
getLineDisplayStats(): {
|
|
226
|
+
retainedSourceSamples: number;
|
|
227
|
+
displaySelectionPolicy?: string;
|
|
228
|
+
extremaPairAdmission?: string;
|
|
229
|
+
requestedSourceSamples: number;
|
|
230
|
+
selectedDisplaySamples: number;
|
|
231
|
+
submittedDisplaySamples: number;
|
|
232
|
+
omittedDisplaySamples: number;
|
|
233
|
+
summaryPages: number;
|
|
234
|
+
summaryBytes: number;
|
|
235
|
+
selectionBytes: number;
|
|
236
|
+
projectionBytes: number;
|
|
237
|
+
cachedSelectionBytes: number;
|
|
238
|
+
cachedProjectionBytes: number;
|
|
239
|
+
cachedTopologyBytes: number;
|
|
240
|
+
reusedSelectionPages: number;
|
|
241
|
+
sourceSamplesScannedThisUpdate: number;
|
|
242
|
+
boundarySamplesScannedThisUpdate: number;
|
|
243
|
+
visitedSummaryNodes: number;
|
|
244
|
+
reusedPages: number;
|
|
245
|
+
evictedPages: number;
|
|
246
|
+
largestSimplifiedPixelSpan: number;
|
|
247
|
+
maximumProjectionXError: number;
|
|
248
|
+
maximumProjectionYError: number;
|
|
249
|
+
sourceReduction: false;
|
|
250
|
+
displayReduction: boolean;
|
|
251
|
+
pagePackets?: import("./line-display-packets.js").PagePacketStats;
|
|
252
|
+
arena?: import("./line-display-arena.js").LineArenaStats;
|
|
253
|
+
extremaNeighborsRetained: boolean;
|
|
254
|
+
extremaNeighborDistancePixels?: number;
|
|
255
|
+
reusedTerminalGroups: number;
|
|
256
|
+
reusedProjectionSamplesThisUpdate: number;
|
|
257
|
+
projectedSamplesThisUpdate: number;
|
|
258
|
+
projectionRebasesThisUpdate: number;
|
|
259
|
+
selectionDelta?: import("./line-selection-ledger.js").LedgerWork;
|
|
260
|
+
} | undefined;
|
|
261
|
+
getXYProjectionStorageBytes(): number;
|
|
262
|
+
drawPacket(mode?: "line" | "points"): DrawPacket;
|
|
263
|
+
}
|
|
264
|
+
export declare class SplineSeries extends PointLineAreaSeries {
|
|
265
|
+
private interpolated?;
|
|
266
|
+
dispose(): this;
|
|
267
|
+
drawPacket(mode?: "line" | "points"): DrawPacket;
|
|
268
|
+
}
|
|
269
|
+
export declare class HeatmapSeries {
|
|
270
|
+
readonly chart: RenderHost;
|
|
271
|
+
readonly id: number;
|
|
272
|
+
readonly kind = "heatmap";
|
|
273
|
+
readonly axisX: Axis;
|
|
274
|
+
readonly axisY: Axis;
|
|
275
|
+
name: string;
|
|
276
|
+
visible: boolean;
|
|
277
|
+
disposed: boolean;
|
|
278
|
+
cursorEnabled: boolean;
|
|
279
|
+
private seriesCursorFormatting?;
|
|
280
|
+
revision: number;
|
|
281
|
+
dataRevision: number;
|
|
282
|
+
dataUpdate?: {
|
|
283
|
+
x: number;
|
|
284
|
+
y: number;
|
|
285
|
+
width: number;
|
|
286
|
+
height: number;
|
|
287
|
+
previousRevision: number;
|
|
288
|
+
};
|
|
289
|
+
private pendingFullDataUpdate;
|
|
290
|
+
paletteRevision: number;
|
|
291
|
+
columns: number;
|
|
292
|
+
rows: number;
|
|
293
|
+
start: {
|
|
294
|
+
x: number;
|
|
295
|
+
y: number;
|
|
296
|
+
};
|
|
297
|
+
step: {
|
|
298
|
+
x: number;
|
|
299
|
+
y: number;
|
|
300
|
+
};
|
|
301
|
+
private configuredStep;
|
|
302
|
+
private explicitGridEnd?;
|
|
303
|
+
data: Float32Array;
|
|
304
|
+
palette: any;
|
|
305
|
+
dataOrder: string;
|
|
306
|
+
scrolling: boolean;
|
|
307
|
+
scrollDimension: string;
|
|
308
|
+
sampleCount: number;
|
|
309
|
+
intensityRange: {
|
|
310
|
+
start: number;
|
|
311
|
+
end: number;
|
|
312
|
+
};
|
|
313
|
+
private intensityInterpolation;
|
|
314
|
+
wireframe: any;
|
|
315
|
+
private stream?;
|
|
316
|
+
constructor(chart: RenderHost, options?: any, scrolling?: boolean);
|
|
317
|
+
private changed;
|
|
318
|
+
/** Only the renderer that actually uploaded this revision may discard pending edits. */
|
|
319
|
+
acknowledgeDataRevision(revision: number): void;
|
|
320
|
+
/** Validate and snapshot caller-owned input before changing any live cell or
|
|
321
|
+
* revision. A later malformed vector or throwing getter cannot leave a
|
|
322
|
+
* partial replacement, and overlapping input views cannot overwrite unread
|
|
323
|
+
* values during the column-to-row conversion. */
|
|
324
|
+
private stageIntensityValues;
|
|
325
|
+
invalidateIntensityValues(values: any): this;
|
|
326
|
+
addIntensityValues(values: any): this;
|
|
327
|
+
private applyStreamUpdate;
|
|
328
|
+
private writeSamples;
|
|
329
|
+
setDataCleaning(value: HeatmapCleaning): this;
|
|
330
|
+
getDataCleaning(): HeatmapCleaning;
|
|
331
|
+
getFirstRetainedSampleIndex(): number;
|
|
332
|
+
getRetainedSampleCount(): number;
|
|
333
|
+
getIntensityValue(sampleIndex: number, cellIndex: number): number | undefined;
|
|
334
|
+
setCursorEnabled(value: boolean): this;
|
|
335
|
+
getCursorEnabled(): boolean;
|
|
336
|
+
setCursorFormattingOverride(formatter: SeriesCursorFormatter | undefined): this;
|
|
337
|
+
getCursorFormattingOverride(): SeriesCursorFormatter | undefined;
|
|
338
|
+
formatCursorRows(hit: any, before: any[][]): any[][] | undefined;
|
|
339
|
+
solveNearest(from: CoordinateClient, mode?: SolveNearestMode): SolveResultHeatmap | undefined;
|
|
340
|
+
private publicBounds;
|
|
341
|
+
getXMin(): number;
|
|
342
|
+
getXMax(): number;
|
|
343
|
+
getYMin(): number;
|
|
344
|
+
getYMax(): number;
|
|
345
|
+
getScrollOffset(): {
|
|
346
|
+
x: number;
|
|
347
|
+
y: number;
|
|
348
|
+
};
|
|
349
|
+
orderedData(): Float32Array<ArrayBufferLike>;
|
|
350
|
+
getSampleCount(): number;
|
|
351
|
+
setStart(value: any): this;
|
|
352
|
+
getStart(): {
|
|
353
|
+
x: number;
|
|
354
|
+
y: number;
|
|
355
|
+
};
|
|
356
|
+
setStep(value: any): this;
|
|
357
|
+
getStep(): {
|
|
358
|
+
x: number;
|
|
359
|
+
y: number;
|
|
360
|
+
};
|
|
361
|
+
setEnd(value: {
|
|
362
|
+
x: number;
|
|
363
|
+
y: number;
|
|
364
|
+
} | undefined): this;
|
|
365
|
+
getEnd(): {
|
|
366
|
+
x: number;
|
|
367
|
+
y: number;
|
|
368
|
+
};
|
|
369
|
+
private resolveGridStep;
|
|
370
|
+
setFillStyle(value: any): this;
|
|
371
|
+
getFillStyle(): any;
|
|
372
|
+
setIntensityRange(value: any): this;
|
|
373
|
+
setIntensityInterpolation(value: "disabled" | "bilinear" | undefined): this;
|
|
374
|
+
getIntensityInterpolation(): "disabled" | "bilinear";
|
|
375
|
+
setPixelInterpolationMode(value: "disabled" | "bilinear" | undefined): this;
|
|
376
|
+
getPixelInterpolationMode(): "disabled" | "bilinear";
|
|
377
|
+
setName(value: string): this;
|
|
378
|
+
getName(): string;
|
|
379
|
+
setWireframeStyle(value: any): this;
|
|
380
|
+
getWireframeStyle(): any;
|
|
381
|
+
setVisible(value: boolean): this;
|
|
382
|
+
getVisible(): boolean;
|
|
383
|
+
setMouseInteractions(_value: boolean): this;
|
|
384
|
+
setEffect(value: any): this;
|
|
385
|
+
protected getClearIntensityValue(): number;
|
|
386
|
+
clear(): this;
|
|
387
|
+
bounds(dim: "x" | "y" | "z"): {
|
|
388
|
+
start: number;
|
|
389
|
+
end: number;
|
|
390
|
+
} | undefined;
|
|
391
|
+
/** Allocated grid extent includes unused NaN cells; data bounds do not. */
|
|
392
|
+
textureBounds(dim: 'x' | 'y'): {
|
|
393
|
+
start: number;
|
|
394
|
+
end: number;
|
|
395
|
+
};
|
|
396
|
+
dispose(): this;
|
|
397
|
+
isDisposed(): boolean;
|
|
398
|
+
}
|
|
399
|
+
export type LineSeries = PointLineAreaSeries;
|
|
400
|
+
export type PointSeries = PointLineAreaSeries;
|
|
401
|
+
export type PointLineSeries = PointLineAreaSeries;
|
|
402
|
+
export type AreaSeries = PointLineAreaSeries;
|
|
403
|
+
export type PointLineAreaSeries3D = PointLineAreaSeries;
|
|
404
|
+
export {};
|