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

Method eachTargetAxis

src/component/dataZoom/DataZoomModel.ts:437–450  ·  view source on GitHub ↗

* @param {Function} callback param: axisModel, dimNames, axisIndex, dataZoomModel, ecModel

(
        callback: (
            this: Ctx,
            axisDim: DataZoomAxisDimension,
            axisIndex: number
        ) => void,
        context?: Ctx
    )

Source from the content-addressed store, hash-verified

435 * @param {Function} callback param: axisModel, dimNames, axisIndex, dataZoomModel, ecModel
436 */
437 eachTargetAxis<Ctx>(
438 callback: (
439 this: Ctx,
440 axisDim: DataZoomAxisDimension,
441 axisIndex: number
442 ) => void,
443 context?: Ctx
444 ): void {
445 this._targetAxisInfoMap.each(function (axisInfo, axisDim) {
446 each(axisInfo.indexList, function (axisIndex) {
447 callback.call(context, axisDim, axisIndex);
448 });
449 });
450 }
451
452 /**
453 * @return If not found, return null/undefined.

Callers 8

eachAxisModelFunction · 0.80
overallResetFunction · 0.80
isLinkedFunction · 0.80
markAxisControlledFunction · 0.80

Calls 2

eachFunction · 0.50
eachMethod · 0.45

Tested by

no test coverage detected