MCPcopy
hub / github.com/apache/echarts / _getThumbnailInfo

Method _getThumbnailInfo

src/chart/graph/GraphView.ts:336–353  ·  view source on GitHub ↗

* Get thumbnail data structure only if supported.

()

Source from the content-addressed store, hash-verified

334 * Get thumbnail data structure only if supported.
335 */
336 private _getThumbnailInfo(): {
337 bridge: ThumbnailBridge
338 coordSys: View
339 } | NullUndefined {
340 const model = this._model;
341 const coordSys = model.coordinateSystem;
342 if (coordSys.type !== 'view') {
343 return;
344 }
345 const bridge = getThumbnailBridge(model);
346 if (!bridge) {
347 return;
348 }
349 return {
350 bridge,
351 coordSys: coordSys as View,
352 };
353 }
354
355 private _updateThumbnailWindow() {
356 const info = this._getThumbnailInfo();

Callers 3

renderMethod · 0.95
_renderThumbnailMethod · 0.95

Calls 1

getThumbnailBridgeFunction · 0.90

Tested by

no test coverage detected