(aro, axletter, axnum, aropos)
| 123 | // acts on an Object representing a aro which could be a line or a rect |
| 124 | // DEPRECATED |
| 125 | function aroFromAROPos(aro, axletter, axnum, aropos) { |
| 126 | aro[axletter + '0'] = aropos.value[0]; |
| 127 | aro[axletter + '1'] = aropos.value[1]; |
| 128 | if(aropos.ref === 'range') { |
| 129 | aro[axletter + 'ref'] = axletter + axnum; |
| 130 | } else if(aropos.ref === 'domain') { |
| 131 | aro[axletter + 'ref'] = axletter + axnum + ' domain'; |
| 132 | } else if(aropos.ref === 'paper') { |
| 133 | aro[axletter + 'ref'] = 'paper'; |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | // {axid} is the axis id, e.g., x2, y, etc. |
| 138 | // {ref} is ['range'|'domain'|'paper'] |
no outgoing calls
no test coverage detected
searching dependent graphs…