(orientation)
| 105 | } |
| 106 | |
| 107 | get_key_for_orientation(orientation) { |
| 108 | const scales_metadata = this.get('scales_metadata'); |
| 109 | for (const scale in scales_metadata) { |
| 110 | if (scales_metadata[scale].orientation === orientation) { |
| 111 | return scale; |
| 112 | } |
| 113 | } |
| 114 | return null; |
| 115 | } |
| 116 | |
| 117 | // TODO make this abstract |
| 118 | get_data_dict(data, index) { |
no outgoing calls
no test coverage detected