(v, ax)
| 634 | function greaterOrEqual(v0, v1) { return v0 >= v1; } |
| 635 | |
| 636 | function applyAutorangeMinOptions(v, ax) { |
| 637 | var autorangeoptions = ax.autorangeoptions; |
| 638 | if( |
| 639 | autorangeoptions && |
| 640 | autorangeoptions.minallowed !== undefined && |
| 641 | hasValidMinAndMax(ax, autorangeoptions.minallowed, autorangeoptions.maxallowed) |
| 642 | ) { |
| 643 | return autorangeoptions.minallowed; |
| 644 | } |
| 645 | |
| 646 | if( |
| 647 | autorangeoptions && |
| 648 | autorangeoptions.clipmin !== undefined && |
| 649 | hasValidMinAndMax(ax, autorangeoptions.clipmin, autorangeoptions.clipmax) |
| 650 | ) { |
| 651 | return Math.max(v, ax.d2l(autorangeoptions.clipmin)); |
| 652 | } |
| 653 | return v; |
| 654 | } |
| 655 | |
| 656 | function applyAutorangeMaxOptions(v, ax) { |
| 657 | var autorangeoptions = ax.autorangeoptions; |
no test coverage detected
searching dependent graphs…