MCPcopy Create free account
hub / github.com/apache/echarts / resetExtent

Method resetExtent

src/component/visualMap/VisualMapModel.ts:408–418  ·  view source on GitHub ↗

* @protected

()

Source from the content-addressed store, hash-verified

406 * @protected
407 */
408 resetExtent() {
409 const thisOption = this.option;
410
411 // Can not calculate data extent by data here.
412 // Because series and data may be modified in processing stage.
413 // So we do not support the feature "auto min/max".
414
415 const extent = asc([thisOption.min, thisOption.max] as [number, number]);
416
417 this._dataExtent = extent;
418 }
419
420 /**
421 * PENDING:

Callers 2

optionUpdatedMethod · 0.80
optionUpdatedMethod · 0.80

Calls 1

ascFunction · 0.50

Tested by

no test coverage detected