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

Function getAxisInfo

src/component/axisPointer/modelHelper.ts:398–402  ·  view source on GitHub ↗
(axisModel: AxisBaseModel)

Source from the content-addressed store, hash-verified

396}
397
398export function getAxisInfo(axisModel: AxisBaseModel) {
399 const coordSysAxesInfo = (axisModel.ecModel.getComponent('axisPointer') as AxisPointerModel || {})
400 .coordSysAxesInfo as CollectionResult;
401 return coordSysAxesInfo && coordSysAxesInfo.axesInfo[makeKey(axisModel)];
402}
403
404export function getAxisPointerModel(axisModel: AxisBaseModel) {
405 const axisInfo = getAxisInfo(axisModel);

Callers 2

fixValueFunction · 0.70
getAxisPointerModelFunction · 0.70

Calls 2

makeKeyFunction · 0.85
getComponentMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…