MCPcopy Index your code
hub / github.com/apache/echarts / setApproximateExtent

Method setApproximateExtent

src/data/SeriesData.ts:695–698  ·  view source on GitHub ↗

* NOTICE: `_approximateExtent` does not support filter. Callers must ensure the input extent * to be handled by `scale.sanitizeExtent`. * * Calculate extent on a filtered data might be time consuming. * Approximate extent is only used for: calculate extent of filtered data outsid

(extent: [number, number], dim: SeriesDimensionLoose)

Source from the content-addressed store, hash-verified

693 * Approximate extent is only used for: calculate extent of filtered data outside.
694 */
695 setApproximateExtent(extent: [number, number], dim: SeriesDimensionLoose): void {
696 dim = this.getDimension(dim);
697 this._approximateExtent[dim] = extent.slice() as [number, number];
698 }
699
700 getCalculationInfo<CALC_INFO_KEY extends keyof DataCalculationInfo<HostModel>>(
701 key: CALC_INFO_KEY

Callers 1

filterDataMethod · 0.80

Calls 1

getDimensionMethod · 0.95

Tested by

no test coverage detected