(axisModel: AxisBaseModel | NullUndefined)
| 224 | } |
| 225 | |
| 226 | export 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 | |
| 236 | export function setAxisProxyToModel(axisModel: AxisBaseModel, axisProxy: AxisProxy): void { |
| 237 | if (__DEV__) { |
no test coverage detected
searching dependent graphs…