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

Function getAxisProxyFromModel

src/component/dataZoom/helper.ts:226–234  ·  view source on GitHub ↗
(axisModel: AxisBaseModel | NullUndefined)

Source from the content-addressed store, hash-verified

224}
225
226export function getAxisProxyFromModel(axisModel: AxisBaseModel | NullUndefined): AxisProxy | NullUndefined {
227 if (!axisModel) {
228 return;
229 }
230 if (__DEV__) {
231 assert(axisModel.ecModel);
232 }
233 return ensureAxisProxyMap(axisModel.ecModel).get(axisModel.uid);
234}
235
236export function setAxisProxyToModel(axisModel: AxisBaseModel, axisProxy: AxisProxy): void {
237 if (__DEV__) {

Callers 4

getAxisProxyMethod · 0.90
getTargetSeriesFunction · 0.90
getAlignToFunction · 0.85

Calls 3

ensureAxisProxyMapFunction · 0.85
assertFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…