* The rule should not be complex, otherwise user might not * be able to known where the data is wrong. * The code is ugly, but how to make it neat? * * @param {module:echars/data/Source} source * @param {number} dimIndex * @return {BE_ORDINAL} guess result.
(source, dimIndex)
| 21102 | * @return {BE_ORDINAL} guess result. |
| 21103 | */ |
| 21104 | function guessOrdinal(source, dimIndex) { |
| 21105 | return doGuessOrdinal( |
| 21106 | source.data, |
| 21107 | source.sourceFormat, |
| 21108 | source.seriesLayoutBy, |
| 21109 | source.dimensionsDefine, |
| 21110 | source.startIndex, |
| 21111 | dimIndex |
| 21112 | ); |
| 21113 | } |
| 21114 | |
| 21115 | // dimIndex may be overflow source data. |
| 21116 | // return {BE_ORDINAL} |
no test coverage detected