src/component/marker/MarkLineView.js
function ifMarkLineHasOnlyDim(dimIndex, fromCoord, toCoord, coordSys) {
    var otherDimIndex = 1 - dimIndex;
    var dimName = coordSys.dimensions[dimIndex];
    return isInifinity(fromCoord[otherDimIndex]) && isInifinity(toCoord[otherDimIndex])
        && fromCoord[dimIndex] === toCoord[dimIndex] && coordSys.getAxis(dimName).containData(fromCoord[dimIndex]);
}
function ifMarkLineHasOnlyDim(dimIndex, fromCoord, toCoord, coordSys) {
    var otherDimIndex = 1 - dimIndex;
    var dimName = coordSys.dimensions[dimIndex];
    return isInifinity(fromCoord[otherDimIndex]) && isInifinity(toCoord[otherDimIndex])
        && fromCoord[dimIndex] === toCoord[dimIndex] && coordSys.getAxis(dimName).containData(fromCoord[dimIndex]);
}
function ifMarkLineHasOnlyDim ( dimIndex , fromCoord , toCoord , coordSys ) { var otherDimIndex = 1 - dimIndex ; var dimName = coordSys . dimensions [ dimIndex ] ; return isInifinity ( fromCoord [ otherDimIndex ] ) && isInifinity ( toCoord [ otherDimIndex ] ) && fromCoord [ dimIndex ] === toCoord [ dimIndex ] && coordSys . getAxis ( dimName ) . containData ( fromCoord [ dimIndex ] ) ; }
If a markLine has one dim
If a markLine has one dim