(linkPropValue: number[] | number | string | string[] | 'all', axisPropValue: number | string)
| 344 | } |
| 345 | |
| 346 | function checkPropInLink(linkPropValue: number[] | number | string | string[] | 'all', axisPropValue: number | string) { |
| 347 | return linkPropValue === 'all' |
| 348 | || (isArray(linkPropValue) && indexOf(linkPropValue, axisPropValue) >= 0) |
| 349 | || linkPropValue === axisPropValue; |
| 350 | } |
| 351 | |
| 352 | export function fixValue(axisModel: AxisBaseModel) { |
| 353 | const axisInfo = getAxisInfo(axisModel); |
no test coverage detected
searching dependent graphs…