(len)
| 83 | |
| 84 | // return increment to test at most 1000 points, evenly spaced |
| 85 | function getIncrement(len) { |
| 86 | return Math.max(1, (len - 1) / 1000); |
| 87 | } |
| 88 | |
| 89 | // are the (x,y)-values in gd.data mostly text? |
| 90 | // require twice as many DISTINCT categories as distinct numbers |