(ax, min, max)
| 676 | } |
| 677 | |
| 678 | function hasValidMinAndMax(ax, min, max) { |
| 679 | // in case both min and max are defined, ensure min < max |
| 680 | if( |
| 681 | min !== undefined && |
| 682 | max !== undefined |
| 683 | ) { |
| 684 | min = ax.d2l(min); |
| 685 | max = ax.d2l(max); |
| 686 | return min < max; |
| 687 | } |
| 688 | return true; |
| 689 | } |
| 690 | |
| 691 | // this function should be (and is) called before reversing the range |
| 692 | // so range[0] is the minimum and range[1] is the maximum |
no outgoing calls
no test coverage detected
searching dependent graphs…